Wednesday, November 21, 2007
The Chase is On
There is no point in live where one should feel content with one's growth, in power and ability generally, in mind and control particularly. While contriving, expressing ideas and moving are just the beginnings, the rate will likely determine everything.
Friday, November 16, 2007
Friday, November 2, 2007
remove duplicate paths from $PATH in BASH
Here is one that I came up with:
PATH=`awk -F: '{for(i=1;i<=NF;i++){if(!($i in a)){a[$i];printf s$i;s=":"}}}'<<<$PATH`
PATH=`awk -F: '{for(i=1;i<=NF;i++){if(!($i in a)){a[$i];printf s$i;s=":"}}}'<<<$PATH`
Subscribe to:
Posts (Atom)