News for hackers. Stuff that matters.
Re:From macOS to Windows and WSL by setquk on Friday December 07, 2018 @12:34PM (#18629632)
I use jq a lot in bash. That's a good part of an object pipeline.

curl | jq | grep/awk | jq | curl

Re:From macOS to Windows and WSL by nailer on Saturday December 08, 2018 @10:09AM (#18635542)
Yeah but ip, and ls, and cat /etc/somefile.conf, and pretty much anything asides from curl don't output structured data so you can't use jq on it.
Re:From macOS to Windows and WSL by setquk on Saturday December 08, 2018 @10:29AM (#18635660)
That was just an example of a pipeline. jq can parse plain text easily with split/map as well.

Also:

ls -l

ip -o

Re:From macOS to Windows and WSL by nailer on Tuesday December 11, 2018 @09:57AM (#18655672)
I know about `ls -l` (and have for about 25 years now, thanks). You're still scraping.