To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 26
  Re: awk vs. perl for simple tasks
 
(...) That's in reference to the awk idiom: awk '{ print $4 }' which is much longer to do in perl. I personally use this as a shell command inside Emacs all the time. I'm not good at perl one-liners. -Tim (26 years ago, 15-May-99, to lugnet.off-topic.geek)
 
  Re: awk vs. perl for simple tasks
 
(...) Awww, it's not _that_ much longer in perl: perl -alne 'print $F[3]' although it certainly doesn't roll off the tongue quite as nicely. (...) Can't columns be grabbed easily in Scheme/Lisp? --Todd (26 years ago, 15-May-99, to lugnet.off-topic.geek)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR