3 ms·
Not a waste of time, IMHO. In general, sed is faster than awk. It's smaller and is found in more places than awk, e.g., build toolchains. The grymoire site i
by 1vuio0pswjnm7 3y ago
Not a waste of time, IMHO. In general, sed is faster than awk. It's smaller and is found in more places than awk, e.g., build toolchains. The grymoire site is one of the best, IMHO. He also has a tutorial on awk that is good, too. Nice to see people still discovering these tutorials.
Saddens me to see people selling crappy "e-books" or whatetver on text processing on HN. Compared to the older generations that used UNIX, the level of knowledge is lacking. IMHO.
This book from Tim Oreilly is an old favourite and has one of the nuttiest explanations of the hold space. See page 375.
https://www.oreilly.com/openbook/utp/UnixTextProcessing.pdf https://www.oreilly.com/openbook/utp/UnixTextProcessing.pdf
https://web.archive.org/web/20230514225639if_/https://www.oreilly.com/openbook/utp/UnixTextProcessing.pdf https://web.archive.org/web/20230514225639if_/https://www.or...
As a NetBSD user, I found this books useful; all the utilities explained in it are still in the NetBSD userland.