Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Writing awk to do it is definitely more work than calling obj.Property though.


  $mysql_cmd|awk -F\| '$2 == "what you want the second row to match" {print $0}'
Not that much more work. And you can do better if you can coax mysql to emit proper DSV.


That kind of stuff adds up fast in an interactive shell.


...Which is why you write a script to do it if it comes up often.

Extendable tooling!




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: