3 ms·
have any good resources for this?
by 0x262d 7y ago
have any good resources for this?
- fancyfish 7y agoPerhaps these are a good start: awk: - GNU Awk User Guide - https://www.gnu.org/software/gawk/manual/gawk.html#Getting-Started https://www.gnu.org/software/gawk/manual/gawk.html#Getting-S... - Grymoire guide - http://www.grymoire.com/Unix/Awk.html http://www.grymoire.com/Unix/Awk.html sed: - Grymoire guide - https://www.grymoire.com/Unix/Sed.html https://www.grymoire.com/Unix/Sed.html - Official docs - http://sed.sourceforge.net/#docs http://sed.sourceforge.net/#docs
- bromonkey 7y agoman bash man awk man sed man grep You can also do most of this stuff with Perl one liners if that suits your fancy. sed + awk - https://www.amazon.com/sed-awk-Dale-Dougherty/dp/1565922255 https://www.amazon.com/sed-awk-Dale-Dougherty/dp/1565922255 awk - https://ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoIC7/The_AWK_Programming_Language.pdf https://ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoI... general *nix text processing - https://www.tldp.org/LDP/abs/html/textproc.html https://www.tldp.org/LDP/abs/html/textproc.html
- a_bonobo 7y agoThere's a free O'Reilly book from last year: https://www.datascienceatthecommandline.com/ https://www.datascienceatthecommandline.com/ awk is pure magic.
- markvdb 7y agoThe IBM developerworks articles about this are old (2000!), but still incredibly useful and well written. Start here: https://www.ibm.com/developerworks/library/l-sed1/index.html https://www.ibm.com/developerworks/library/l-sed1/index.html https://developer.ibm.com/tutorials/l-awk1/ https://developer.ibm.com/tutorials/l-awk1/