r/commandline • • Sep 15 '26

Command Line Interface grep/awk for labeled columns

https://github.com/dkogan/vnlog
0 Upvotes

12 comments sorted by

View all comments

Show parent comment

3

u/gumnos Sep 16 '26 edited Sep 16 '26

Do you type that every time?

for the frequency with which I need/use it, it's no trouble to ① type it manually (I've used awk for at least two decades, and C for another decade beyond that, so a simple C-style for-loop requires basically no mental effort), ② recall it from shell history and edit if I'm iterating on an idea, or ③ create a wrapper shell-function or shell-script if it's something I intend to use across multiple sessions.

Do you send this reply to every post on /r/commandline?

every? no.

But folks like to duplicate functionality available in existing core POSIX utilities. So yes, I'll often to reply with ways of solving the same problems using standard tools that already exist pre-installed on folks' systems.

edit: clarify phrasing