Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thank youperl -ne 's/^/ $i $j /g && print if /START $i/ .. /END $j/ ' file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Search between pattern and append
by Corion (Patriarch) on Jul 13, 2018 at 14:41 UTC | |
by Anonymous Monk on Jul 13, 2018 at 16:39 UTC | |
|
Re: Search between pattern and append
by Marshall (Canon) on Jul 13, 2018 at 17:27 UTC | |
by Anonymous Monk on Jul 13, 2018 at 17:59 UTC | |
by Marshall (Canon) on Jul 13, 2018 at 18:13 UTC | |
by Anonymous Monk on Jul 13, 2018 at 18:29 UTC | |
by Marshall (Canon) on Jul 13, 2018 at 18:57 UTC |