News for hackers. Stuff that matters.
Re:I Didn’t Learn Unix by Reading All the Manpages by paulddraper on Wednesday May 24, 2023 @02:38PM (#36062299)
grep's prerequisite is to understand regexes.
Re:I Didn’t Learn Unix by Reading All the Manpages by m463 on Wednesday May 24, 2023 @05:54PM (#36064355)
This goes deeper, since understanding grep regexes involves understanding quoting.

This means not only how regexes distinguish between literals and control characters, but how the shell distinguishes and passes on characters to the regex that grep receives as an argument.

I think regex quoting is one of the major stumbling blocks of comprehension.

Even after decades using regexes, I still stumble (especially when my regexes are used in the shell, in emacs, in python re.match, etc...)

Re:I Didn’t Learn Unix by Reading All the Manpages by cutler on Wednesday May 24, 2023 @07:33PM (#36065266)
Friedl's "Mastering Regular Expressions" is one of the best books I've ever read and started my Unix journey via Perl and Emacs.
Re:I Didn’t Learn Unix by Reading All the Manpages by JdeBP on Wednesday May 24, 2023 @08:33PM (#36065789)
Which rather reinforces the point of the headlined article: People actually learn a lot of stuff when they start out from tutorials, guides, handbooks, and whatnot; not from purely reading reference doco. I started out with books, too. Later people would have started with the likes of TLDP.

I suspect that the author is right that most people started with guides/handbooks/tutorials, even the ones who later on convince themselves that they only read reference doco.

Re:I Didn’t Learn Unix by Reading All the Manpages by cutler on Thursday May 25, 2023 @07:51AM (#36069545)
O'Reilly's bestiary had an exceptional line-up of Unix classics in the early 2000s.