--On Friday, August 20, 2010 17:24:55 -0700 "Randal L. Schwartz"
<[email protected]> wrote:
"Paul" == Paul Schmehl <[email protected]> writes:
Paul> Yes, I know I could do this easily in Perl. I'm doing this to try
Paul> and improve my understanding of awk.
To what end?
Every modern system that can run awk can also run Perl. Why not
concentrate on Perl?
Three reasons. Perl is too easy (for this particular problem.) :-)
Perl isn't part of the base system for FreeBSD.
# ls -lsa /usr/bin/perl
0 lrwxr-xr-x 1 root wheel 25 Jul 29 22:53 /usr/bin/perl ->
/usr/local/bin/perl5.12.1
# ls -lsa /usr/bin/awk
134 -r-xr-xr-x 2 root wheel 135472 Jul 4 2008 /usr/bin/awk
It never hurts to learn new things, especially things that might get you out of
a jam when a system isn't working as expected and you have access to a limited
number of tools to solve the problem.
--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"