Kenneth Gonsalves wrote:
On Wednesday 19 Aug 2009 4:48:38 pm Raj Mathur wrote:
On Wednesday 19 Aug 2009, steve wrote:
[asnip] b. Learn a scripting language (I'd recommend python) -- http://wiki.python.org/moin/BeginnersGuide
Just playing Devil's Advocate here, but the day I start recommending Python as a scripting language is the day it lets me do something like this from a command-line:
perl -e 'undef$/;$"=chr(10);foreach(@ARGV){open(F,$_); $l=<F>;@l=reverse(split(/\n/,$l));close(F);open(F,">$_");print F "@l";close(F);}' file1 file2 file3...
looks like chinese - so it must be perl
I am guessing, he must be a sed expert too. WOW!