News for hackers. Stuff that matters.
Re:Fish: A user-friendly command line shell for macOS, Linux... by __sr__ on Tuesday December 12, 2017 @11:09PM (#15911955)
Out of the mainstream formats, JSON is among the easiest to parse - thanks to the CLI tool jq. Does UCL have something equivalent?

Protobuf (or any other binary format) has the benefit of being faster to load, but I agree - it should not be be used to store things like history. It should be easy to parse history without having to write code. And with Protobuf, you need the schema.

If a binary format is going to be used, it should be optional - or perhaps there should be tools to convert the history file to/from a plaintext format.

Re:Fish: A user-friendly command line shell for macOS, Linux... by techdragon on Wednesday December 13, 2017 @03:05AM (#15912785)
There is uclcmd [https://github.com/allanjude/uclcmd] which could do with some more work but was created with the intent of being a UCL equivalent of JQ.

Also since he’s the kind of person that a HN reader will probably Ike to know more about. The original author of the aforementioned uclcmd, Allan Jude [http://twitter.com/allanjude], is the former host of the TechSNAP podcast [http://www.jupiterbroadcasting.com/show/techsnap/], current host of the BSD Now podcast [http://www.jupiterbroadcasting.com/show/bsdnow/], a current member of the FreeBSD Core team, and co-authored not one but two books on the ZFS file system FreeBSD Mastery: ZFS [https://www.amazon.com/FreeBSD-Mastery-ZFS-7/dp/0692452354/] and FreeBSD Mastery: Advanced ZFS [https://www.amazon.com/FreeBSD-Mastery-Advanced-ZFS/dp/06926...]

Re:Fish: A user-friendly command line shell for macOS, Linux... by jhoechtl on Wednesday December 13, 2017 @01:30AM (#15912464)
Would like to see comments in configuration, Json doesn't support comments.
Re:Fish: A user-friendly command line shell for macOS, Linux... by nine_k on Wednesday December 13, 2017 @11:37AM (#15915296)
UCL can be trivially transformed to JSON or YAML; ucl-tool supports this from CLI.