Hacker News new | past | comments | ask | show | jobs | submit login

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!




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: