On Sat, 30 Aug 2003, Jason Stubbs wrote: > The grep line is fairly easy to understand. I've got to learn regular > expressions, though. They seem too useful!
That's what I meant. 'man 7 regex' and 'man pcre' for regular regular expressions and perl compatible regular expressions, respectively. In fact, 'apropos pcre' reveals 'pcregrep' which I had not previously known about. Also 'man perlre' for using regular expressions in a perl script. But regardless of what tool you use (grep, sed, perl, etc), learning regular expressions is definately something you want to do. But also learn perl or another scripting language of your choice. Bash is good for simple tasks, but sooner or later you'll hit some limitations. -- Caution: Product will be hot after heating -- [EMAIL PROTECTED] mailing list
