On Tuesday, April 2, 2002, at 04:39 , Anand, Pankaj wrote:
> I need a small help . nothing untoward - you might like: http://www.wetware.com/drieux/CS/lang/shellScript/ [..] I'll not try to be TOO harsh about some of what you could have done to make that /bin/sh script less, well... issue laden. And DON'T ASK what I have done in /bin/sh - I may tell you... > I have one script with these commands.But I think perl can do it > efficiently. I have dummied up some data: from a b c d field4 t BOB UNBIND a=b=field4 f5 get from a b c d feld4 t get UNBIND a=b=feld4 f5 BOB from a b c d f4 t kill UNBIND a=b=f4 f5 BOB and put the 'from' before the UNBIND - the only excuse I can imagine for the MultiParseTheFile Approach. the output is vladimir: 55:]cat /tmp/ipop get BOB kill BOB BOB get vladimir: 56:] http://www.wetware.com/drieux/CS/lang/Perl/Beginners/sh_to_perl.txt then may I highly recommend that you spring for a copy of Progamminng Perl 3rd Edition ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]