3 ms·
Man, seconded. I'm not sure if a CSV-ized awk is a sensible idea, but I'd love to have it if it were. CSV might be #1 on my list of "things that will cause prob
by billjings 13y ago
Man, seconded. I'm not sure if a CSV-ized awk is a sensible idea, but I'd love to have it if it were. CSV might be #1 on my list of "things that will cause problems for you because they are slightly harder than you think they are".
- berntb 13y agoI hear you, re CSV. Join the dar... cough, Perl side, we have cookies. :-) We have CSV parsers and everything else, all the way up to e.g. good web libraries and the best OO among the scripting languages (Moose, ~ like the Common Lisp OO environment; more or less std for new Perl projects today.) And there is more! You can reuse most everything you know from awk! Write: perldoc perlrun Check for -n, -p, -i, -E flags. And, as many have noted, there is a2p. http://perldoc.perl.org/5.16.2/perlrun.html http://perldoc.perl.org/5.16.2/perlrun.html http://perldoc.perl.org/5.16.2/a2p.html http://perldoc.perl.org/5.16.2/a2p.html But the main reason is that we have fun. An insane programming language which throw all this "minimal mathematical notation" stuff out the window with some linguist inspirations, but still works wonderfully (do insist on keeping to the coding standards in your group. Seriously. At a minimum -- lie and say that you do that, when people interview for a job at your place. :-) )