3 ms·
$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 pro
by 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!