in reply to Paste comments in a document
#!/usr/bin/perl my $EDO; while (<DATA>) { ($EDO) = $_ =~ /=*EDO=(\w+)=*/ if /^=/; print; print "\nComment $EDO\n" if ( /^UNIX/ ); } __DATA__ =====EDO=FED00123===== XXXXX XXXXX XXXXX XXXXX XXXXX UNIX Page: XX =====EDO=FED00124===== XXXXX XXXXX XXXXX XXXXX XXXXX XXXXX UNIX Page: XX
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Paste comments in a document
by siffland (Novice) on Apr 06, 2010 at 22:16 UTC | |
by almut (Canon) on Apr 06, 2010 at 22:38 UTC |