Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
from the command line, rather than writing an actual script to open and rewrite the file.if ($_ =~ /^THIS/) {$_ =~ s/I/A/}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sed style file parse from command-line
by ccn (Vicar) on Dec 28, 2008 at 19:46 UTC | |
|
Re: sed style file parse from command-line
by Perlbotics (Archbishop) on Dec 28, 2008 at 19:47 UTC | |
|
Re: sed style file parse from command-line
by superfrink (Curate) on Dec 28, 2008 at 23:45 UTC | |
|
Re: sed style file parse from command-line
by Anonymous Monk on Dec 28, 2008 at 20:03 UTC |