8 ms·
AWK is very easy for C programmers to learn. You can also try 'info gawk' from the Unix or Cygwin prompt for a good tutorial.
by OneOneOneOne 12y ago
AWK is very easy for C programmers to learn.
You can also try 'info gawk' from the Unix or Cygwin prompt for a good tutorial.
- mseepgood 12y agoOr JavaScript programmers. JavaScript's function syntax came from AWK.
- agumonkey 12y agoFirst time I read that but well the spec says so. http://hepunx.rl.ac.uk/~adye/jsspec11/intro.htm#1006028 http://hepunx.rl.ac.uk/~adye/jsspec11/intro.htm#1006028
- cbd1984 12y agoIt's also easy for people coming from Perl, given that Perl was designed to be easy for people coming from Unix shell, which includes awk. Python and Ruby aren't that far removed, but the idea of a one-liner as such is alien to the Python mindset, I suppose.