in reply to Re: splitting the bus and print -- oneliner
in thread splitting the bus and print
perl -nlE "say for/\[(\d+):(\d+)\](\w+)/?map{$3.qq([$_])}$2..$1:$_" po +rtbus.txt perl -nlE "push @res,/\[(\d+):(\d+)\](\w+)/?map{$3.qq([$_])}$2..$1:$_; +END{say for @res}" portbus.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: splitting the bus and print -- oneliner
by Discipulus (Canon) on Apr 27, 2016 at 07:16 UTC |