in reply to One liner help
What happens with
You could alsoperl -lpe "join q{.}, reverse split /\./" zones.txt
but I was never a fan of -a.perl -F. -lpe "join q{.}, reverse @F" zones.txt
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: One liner help
by VinsWorldcom (Prior) on Oct 08, 2014 at 19:53 UTC | |
by kennethk (Abbot) on Oct 08, 2014 at 23:26 UTC | |
by VinsWorldcom (Prior) on Oct 09, 2014 at 00:44 UTC |