On 1/29/2006 at 11:11 PM Richard wrote:
Once I learned sed/awk/grep/sh I stopped writing C code
for
manipulating text files.
well, would I write a bunch of M4, lex, awk and sed to to merge the
nibbles on two hex files? No--it's very straighforward and a no-brainer in
C and will pretty much run on anything, even a little Z80 CP/M system..
Would I use C for a text application that involved extensive pattern
matching? Probably not. The aforementioned tools (or other ones) are more
appropriate.
I suppose I could figure out a way to drive screws using a jackhammer, but
a screwdriver is the right tool for the job.
Cheers,
Chuck