3 ms·
I wouldn't exactly call replacing AWK with Sed a "simplification". And now you have a stew of escaped $s. Invoking `tput` is a good idea, though; maybe you can
by nerdponx 5y ago
I wouldn't exactly call replacing AWK with Sed a "simplification". And now you have a stew of escaped $s. Invoking `tput` is a good idea, though; maybe you can use the AWK `system()` function for that.
- andrewshadura 5y agoJust grep would be enough
- andrewshadura 5y agoWell, grep would look a bit uglier, sed would be better.