<div class="gmail_quote">On Fri, Sep 17, 2010 at 11:47, <span dir="ltr"><<a href="mailto:m.roth@5-cent.us">m.roth@5-cent.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Ah, no. I wrote 30 scripts around '91-'92 to take datafiles from 30</div></div>
sources and reformat them, to feed to the C program I'd written with<br>
embedded sql, in place of the d/b's sqlloader (*bleah*). Then, 11 years<br>
ago, I wrote a validation program for data that was being loaded by<br>
another program that I didn't want to change; the data had been exported<br>
from ArcInfo, and had to go into our Oracle d/b.<br>
<br>
Really simple to do in awk - just so much of it, and no, perl would have<br>
offered no improved/shorter way to do it, and yes, I do know perl - in<br>
'04, for example, I rewrote a call routing and billing system from perl<br>
(written by my then-manager, who'd never studied programming, can you say<br>
spaghetti?) into reasonable perl. Actually, I just wrote a scraper in<br>
perl, using HTML::Parser. Anyway, the point of that was to demonstrate<br>
that I know both, and awk is better, IMO, for some jobs.<br>
<br>
mark<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br><br clear="all">It's all about picking the right tool for the job. Python is good for some things, perl for others, awk for still different things...<div>It is the beauty of Linux...</div>
<div>John<br>-- <br> John Kennedy<br><br>
</div>