chomp ($txtlist = <STDIN>);
qx' sed -e "/^#/d $txtlist'; # To remove lines starting with a #
qx' sed -e"s?\([ /]\)\./?\1?g" $txtlist; # To remove lines starting with a ./
I can do it if i hard code the file name but if i try to use $txtlist it does not work. What am i doing wrong.
Thanks
Raghu
_________________________________________________________________
Want to check if your PC is virus-infected? Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]