Girish N wrote: > > Hi All Hello,
> I am stuck with this script which I need to finish today... > > What I am supposed to do is > 1) parse a file and search for included files and insert those > included files in the file. > > Eg. > File1 > Lkdfs > Sdfdsfds > Sdfsdf > Include "one.txt" > Sdfdsf > Sdfsdf > Werewr > Tytry perl -i~ -pe'/^Include\s*"([^"]+)/&&($_=`cat $1`)' File1 John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>