non tested but re-organizing from previously working version

This commit is contained in:
Fabien Benetou
2011-07-17 23:24:36 +02:00
parent 0366b4ab4b
commit c961ea41ef
2 changed files with 22 additions and 4 deletions
+8 -4
View File
@@ -1,6 +1,14 @@
#! /usr/bin/env bash
AVOID="con\|utopiah@benetou.fr"
# TODO
# consider similar usage for more than bash
# find ~ -name "*history*"
# ~/.vimperator/info/default/history-command (specific JSON format)
# ~/.newsbeuter/history.cmdline
# code repository per programming language (PHP, Processing, JavaScript, ... and bash too!)
# thought about this earlier to compare with the "signature" vocabulary of expert, notes unfound
echo consider also http://fabien.benetou.fr/Tools/ and to do exercises
# warning, do not miss the environment e.g. http://mywiki.wooledge.org/BashGuide/
@@ -8,7 +16,3 @@ cat ~/.bash_history | sed "s/ /\n/g" | grep "^[[:alpha:]]" | sort | uniq -c | gr
# simpler version for just the first word, which is bad for commands like sort which never appear first
#cat ~/.bash_history | sed "s/ .*//" | sort | uniq -c | sort -n | tail
# consider similar usage for more than bash
# find ~ -name "*history*"
# ~/.vimperator/info/default/history-command (specific JSON format)
# ~/.newsbeuter/history.cmdline