in reply to Re: s/// + tr/// when perl -ni -e on semi-colons in one liners echoed to files
in thread s/// + tr/// when perl -ni -e on semi-colons in one liners echoed to files
ok, thanks for the quick reply. It seems I was assuming -i edits 'in place'. And -n / -p only controlled if STDOUT was printed to or not.(i think it was SED).
Just trying to analyse more complex stuff while tripping over the 'simple' stuff...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: s/// + tr/// when perl -ni -e on semi-colons in one liners echoed to files
by Anonymous Monk on Nov 18, 2012 at 12:57 UTC | |
by Don Coyote (Hermit) on Nov 18, 2012 at 13:12 UTC |