//View Tip #540
» Moved Trac and Subversion repositories to another machine/direct
» Using Perl instead of Sed
» Check low space
» Random password generator.
Amir Watad
Similar Tips
» Print a random shell-fu tip» Moved Trac and Subversion repositories to another machine/direct
» Using Perl instead of Sed
» Check low space
» Random password generator.
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
The following isn't particularly pretty and should be considered a work in progress, but it's quite fun.
Get examples of ways a command can be used direct from shell-fu by adding the following alias:
This pulls out the tips tagged by the given command. (Make sure you tag any tips you submit!)
Get examples of ways a command can be used direct from shell-fu by adding the following alias:
function examples { lynx -width=$COLUMNS -nonumbers -dump "http://www.shell-fu.org/lister.php?tag=$1" | \
sed -n '/^[a-zA-Z]/,$p' | egrep -v '^http|^javas|View Comm|HIDE|] \+|to Share|^ +\*|^ +[HV][a-z]* l|^ .*efu.*ep.*!$' | \
sed -e '/^ *__*/N;s/\n$//g' | less -r; }
This pulls out the tips tagged by the given command. (Make sure you tag any tips you submit!)
Comments
Add your comment
#1
Wow, a great enhancement for the shell experience.
Posted 2009-02-23 12:55:43

