Re:PowerShell is open sourced and is available on Linux
by qwertyuiop924 on Thursday August 18, 2016 @01:14PM
(#12314406)
That doesn't sound hard at all. AWK, anyone?
[ Parent
| on HN ]
Re:PowerShell is open sourced and is available on Linux
by emodendroket on Thursday August 18, 2016 @03:12PM
(#12315478)
Writing awk to do it is definitely more work than calling obj.Property though.
Re:PowerShell is open sourced and is available on Linux
by qwertyuiop924 on Thursday August 18, 2016 @04:26PM
(#12316079)
$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.
Re:PowerShell is open sourced and is available on Linux
by emodendroket on Friday August 19, 2016 @09:01AM
(#12319665)
That kind of stuff adds up fast in an interactive shell.
Re:PowerShell is open sourced and is available on Linux
by qwertyuiop924 on Friday August 19, 2016 @10:31AM
(#12320243)
...Which is why you write a script to do it if it comes up often.
Extendable tooling!