6 ms·
This [0] the most complete post I've read on the topic. Lays out all the relevant tools. Spending some time going through each tool's documentation/options, pa
by fforflo 8y ago
This [0] the most complete post I've read on the topic.
Lays out all the relevant tools.
Spending some time going through each tool's documentation/options, pays off tremendously.
[0]: https://www.ibm.com/developerworks/aix/library/au-unixtext/index.html https://www.ibm.com/developerworks/aix/library/au-unixtext/i...
- inp 8y agoReally nice link! Thanks fforflo.
- JdeBP 8y agoFor actual text processing, I recommend a book. * https://oreilly.com/openbook/utp/ https://oreilly.com/openbook/utp/
- SomethingOrNot 8y agoSeems like a book specifically about text processing for the purpose of writing/formatting/typesetting documents.
- jihadjihad 8y agoWow, great find. Sad how hard it seems these days to come across an easy-to-follow primer on a topic without narrative fluff and/or ads everywhere. For those interested in a standalone copy there is a PDF of the content available here https://www.ibm.com/developerworks/aix/library/au-unixtext/au-unixtext-pdf.pdf https://www.ibm.com/developerworks/aix/library/au-unixtext/a...
- wglb 8y agoWriting clear tutorials is a fair amount of effort, more than I originally thought when I first did it.
- Sir_Cmpwn 8y agoMy main problem with this reference is that it encourages the use of non-portable utilities and flags. Double check against POSIX before writing any of this into your scripts: http://pubs.opengroup.org/onlinepubs/9699919799/ http://pubs.opengroup.org/onlinepubs/9699919799/ See also: http://shellhaters.org/ http://shellhaters.org/
- dahart 8y agoI haven’t seen that one before and it looks pretty good. Interesting that it doesn’t mention sed or awk (edit: I'm wrong, it does mention sed & awk), let alone Perl. I would say that Perl’s so powerful for one liners and Unix text pipelines, I’d consider it required in a text processing reference. Another one I like, and I think it’s mainly because of the philosophy contained in the title is “Ad hoc data analysis from the Unix command line” https://en.m.wikibooks.org/wiki/Ad_Hoc_Data_Analysis_From_The_Unix_Command_Line https://en.m.wikibooks.org/wiki/Ad_Hoc_Data_Analysis_From_Th...
- fwip 8y agoPerhaps it's changed since you viewed it, but both sed and awk are described in the parent's link.
- dahart 8y agoOh, you're right, thanks! I doubt it changed, much more likely it was my mistake. ;) It was either operator error, or maybe the menu didn't display correctly while I was browsing using my iPad.