Redirecting input from file

O

Old Wolf

And, to continue, trying to do a simple reports pgm in C is just asking
to run into all the "C gotchas" - seg faults, undefined behavior, etc,
etc, for no good reason, when there are existing tools that have already
taken care of this stuff.

Agree in general, although if you are already good
at C then there is nothing wrong with using C for
the task. Some of the advantages of C over AWK are
a faster execution time (no need to invoke a new
copy of the shell), and it is not prone to break
when run in different versions of awk (awk? nawk?
oawk? gawk? mawk?)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top