News for hackers. Stuff that matters.
Re:Jo - JSON output from a shell by techdragon on Saturday March 12, 2016 @10:22AM (#11273150)
Awesome complimentary program to the `jq` tool.

However... I do wish the name was `json` not `jo`. In my case more for personal reasons regarding painful memories attached to the name 'Jo', but I also think the tool creates JSON, so why not call it `json` or `jp` short for 'json print' ... but the matter appears settled. Oh well.

Re:Jo - JSON output from a shell by kaoD on Saturday March 12, 2016 @11:22AM (#11273359)
`jo` is probably short for 'json output'.
Re:Jo - JSON output from a shell by jpmens on Saturday March 12, 2016 @12:15PM (#11273572)
It actually started out meaning `JSON Object'. (Arrays came later. :-)
Re:Jo - JSON output from a shell by r0muald on Saturday March 12, 2016 @03:12PM (#11274325)
"JavaScript Object Notation Object"? ;-)
Re:Jo - JSON output from a shell by Saavedro on Saturday March 12, 2016 @05:24PM (#11274925)
Yes. A JSON Object is not an ATM Machine.
Re:Jo - JSON output from a shell by techdragon on Sunday March 13, 2016 @01:28AM (#11276502)
I did wonder a bit what the origin of the name was, thanks for the info.
Re:Jo - JSON output from a shell by jvehent on Saturday March 12, 2016 @10:33AM (#11273175)
echo 'alias json="$(which jo)"' >> ~/.bashrc
Re:Jo - JSON output from a shell by techdragon on Saturday March 12, 2016 @10:50AM (#11273245)
Yes I can always do this sort of thing. But it would be nice to not 'maintain the illusion' when the future day comes that I've got `jo` installed on my various desktops and laptops, inside containers, on snowflake servers, on cattle servers, used by a growing collection of shell scripts written for various versions of sh and bash, etc...
Re:Jo - JSON output from a shell by fiatjaf on Saturday March 12, 2016 @11:45AM (#11273435)
I feel the same.

All these smart small tools are amazing, but they suppose the user has only one computer and does everything on it. so he can just install once and that's it.

I normally use 4 different desktops and 2 VPSs weekly. Although I tend to do most of the work in one of the VPSs, the more I customize it with tools like this, the more all the other computers will miss things.

What is the solution?

Re:Jo - JSON output from a shell by phunge on Saturday March 12, 2016 @12:25PM (#11273631)
I found that learning ansible and storing my machine customization as a deployable playbook was totally worth the effort involved.
Re:Jo - JSON output from a shell by fiatjaf on Saturday March 12, 2016 @04:57PM (#11274791)
Does that ansible thing support incremental deploys? Such that installing 'jo' here will idempotently install it on other machines?
Re:Jo - JSON output from a shell by corobo on Wednesday March 16, 2016 @08:59AM (#11296899)
Late to the party but yes. The idea behind ansible seems to be (I'm new to using it) that you can run the command a million times over a million machines and it'll only install new things to the machines that don't already have it
Re:Jo - JSON output from a shell by ythl on Saturday March 12, 2016 @12:20PM (#11273606)
Fork the repository, rename it, only clone from your fork.
Re:Jo - JSON output from a shell by iokanuon on Saturday March 12, 2016 @10:49AM (#11273243)

    echo 'alias json=jo' >> ~/.bashrc
Or even better

    sudo ln -s $(which jo) /usr/local/bin/json