On Thu, Aug 09, 2001 at 01:08:49PM +0800, Marvin T. Pascual wrote:
> 
> Regarding Perl, I can't make it here in our office 'cause Perl is not
> installed in any of our sites all over the country.  Sayang nga...
> 

Well, why don't you install it then?  How hard can it be?  There are
binary distributions of perl available for almost every system
architecture on the planet, if that's what you want to do, and I know
of no Linux or *BSD distribution that doesn't install it by default.
It's a vital component of many basic admin scripts in Linux and *BSD.
Sun gives out binary packages for Solaris if that's what you got, as
some of their other system programs need it too, same goes for many of
the other Unix variants out in the market.

I reckon that installing perl on your system is going to be much, much
easier than breaking your head open figuring out how to use the korn
shell to do what needs to be done.  You can't do what you're trying to
do with just ksh alone, so you'll need to figure out how to do awk and
sed as well.  The shell is not designed to do what you're trying to
do, and while you may succeed, your code will be nearly impossible to
maintain.  Far better if you just write a C program to do your job
rather than do it in the shell.  The work in C is almost as trivial as
with Perl.

-- 
Rafael R. Sevilla <[EMAIL PROTECTED]>   +63(2)   8177746 ext. 8311
Programmer, InterdotNet Philippines              +63(917) 4458925
http://dido.engr.internet.org.ph/                OpenPGP Key ID: 0x5CDA17D8

PGP signature

Reply via email to