News for hackers. Stuff that matters.
Re:Why you should learn at least a little bit of Awk by awakeasleep on Wednesday September 29, 2010 @10:31AM (#1739491)
Note that the first code he writes on the page

awk "{print $0}"

does not work. Awk programs need single quotes to prevent bash expansion.

Re:Why you should learn at least a little bit of Awk by beza1e1 on Wednesday September 29, 2010 @12:55PM (#1740086)
Depends on the shell one uses, i think. On the other hand, who doesn't use bash these days.
Re:Why you should learn at least a little bit of Awk by silentbicycle on Wednesday September 29, 2010 @01:13PM (#1740180)
Re:Why you should learn at least a little bit of Awk by ralph on Thursday September 30, 2010 @12:59PM (#1743948)
This can be simplified. :-)

    awk 1
Re:Why you should learn at least a little bit of Awk by b3n on Wednesday September 29, 2010 @01:06PM (#1740141)
Assuming you're using the Bash shell.
Re:Why you should learn at least a little bit of Awk by hernan7 on Wednesday September 29, 2010 @01:39PM (#1740281)
Same thing happens on Bourne shell, or Korn shell.
Re:Why you should learn at least a little bit of Awk by gregable on Wednesday September 29, 2010 @01:14PM (#1740184)
Doh. Fixed.