# warning win32 doublequotes perl -F"\W" -lanE "$r{join('|',@F[0,4,1])}++}{say s/(\|\w+$)/\|$r{$_}$ +1/r for keys %r" data.txt
L*
In reply to Re^2: Counting ID on the basis of batch -- oneliner
by Discipulus
in thread Counting ID on the basis of batch
by rohan.mohapatra47
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |