3 ms·
That doesn't sound hard at all. AWK, anyone?
by qwertyuiop924 10y ago
That doesn't sound hard at all. AWK, anyone?
- emodendroket 10y agoWriting awk to do it is definitely more work than calling obj.Property though.
- qwertyuiop924 10y ago$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.
- emodendroket 10y agoThat kind of stuff adds up fast in an interactive shell.
- qwertyuiop924 10y ago...Which is why you write a script to do it if it comes up often. Extendable tooling!