in reply to One to one file output idiom
I'm not good with one-liners, but this seems to do the job on Windows
>perl -pE"open OUT => qq(>$ARGV.ext); select (OUT); s/bla/drivel/" a b + c
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: One to one file output idiom
by choroba (Cardinal) on Jan 15, 2020 at 18:19 UTC | |
by LanX (Saint) on Jan 15, 2020 at 18:26 UTC | |
by Eily (Monsignor) on Jan 16, 2020 at 09:28 UTC | |
by LanX (Saint) on Jan 16, 2020 at 20:34 UTC | |
by Eily (Monsignor) on Jan 17, 2020 at 08:57 UTC |