in reply to One-liner to append text at fixed column
perl -lne 'printf "%-48s%s\n", $_, /(^#|nextstate|var\d+)/ ? " #:$1" +: ""'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: One-liner to append text at fixed column
by LanX (Saint) on Nov 15, 2018 at 22:58 UTC |