home / blog

Tag Archives: perl

Command line perl

I find this much more useful than sed. Example 1: Filter/regex. Print numbers from matching lines. foo 12 bar 23 other baz 34 -e is script mode. -n loops over your input automatically. # -n option does the while loop … Continue reading

Posted in geek | Tagged , | Leave a comment