sed & awk
sed & awk describes two text processing programs that are mainstays of the UNIX programmer's toolbox.
sed is a "stream editor" for editing streams of text that might be too large to edit as a single file, or that might be generated on the fly as part of a larger data processing step. The most common operation done with sed is substitution, replacing one block of text
If I needed to do some quick and dirty edits then I might use sed or awk, but for anything involved I would use programming high level language that I already know such as Clojure or Java.
Handy reference used with 'The AWK Programming Language'
as it also contains sed.
Used awk for a lot of statistical analysis on large text files.
Handy once you get used to it.
And I need a reference as 16 minutes after you write this
stuff, you can't tell what it is doing.
Goodreads is hiring!
Learn more »