Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 2000 13:00:02 -0400
From:      Nathan Vidican <webmaster@wmptl.com>
To:        J A Shamsi <jashamsi@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: scripts
Message-ID:  <3989A512.3FCA2E7@wmptl.com>
References:  <20000803155918.1816.qmail@web4105.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
J A Shamsi wrote:
> 
> HI
> I am new to shell scripting,
> I would like to create a script in bash shell.
> that would do the following
> 
> 1) find out the latest file ( text file)in a directory
> ( there are bunch of files in a dir)
> 
> 2)open that file (text file) and parse the
> values seperated by comma and store them in variables.
> 
> just wondering is there any howto or documenation
> available on the web, or if anyone has any idea...
> 
> thanks
> 
> jas
> 
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

Personally, I'd use PERL for something like that. I don't know if it
would be possible to do it solely with a BASH script?

-- 
Nathan Vidican
webmaster@wmptl.com
Windsor Match Plate & Tool Ltd.
http://www.wmptl.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3989A512.3FCA2E7>