in reply to Re^2: search for string append in file
in thread search for string append in file
Having a gander at How do I post a question effectively? and How (Not) To Ask A Question might help you help us help you :)while(<$in>){ print $out $_; if( /word/ ){ print $out scalar <$in>, "APPEND"; } } close $in; close $out; rename $outfile, $infile;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: search for string append in file
by Bronston (Novice) on Dec 25, 2010 at 02:06 UTC |