News for hackers. Stuff that matters.
Re:From macOS to Windows and WSL by AnIdiotOnTheNet on Friday December 07, 2018 @12:27PM (#18629544)
> I think a lot of people using object pipelines miss the major point of designing test pipelines which is the first step is to make your pipeline easily parseable.

And if developers of UNIX tools actually did that then maybe object pipelines wouldn't be nearly as appealing as they are, but we don't live in that timeline.

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.