Leon's Microblog – Posts tagged "Nushell"

Still using and enjoying NuShell… I felt very satisfied when I figured out all you need to do to get a list of identical-sized files in a directory is this – and the upsert and transpose are just plumbing that could be massaged out with some quick aliases.
I'll restate that this app IS quite rickety… feels like I'm aboard a cartoon rocket piloted by muppets, with "explosion-proof paint" coating the fuel-tank-shaped passenger seats… in the sense that I feel like nothing bad will happen solely because it'd be funnier if it didn't.
Even largely worthless stuff like "turning Grep output into a table" or stuff I already have scripts for, like "rename all these files to just a number + extension" feels easily within my reach with this thing.
I've been playing with this thing (NuShell) for the whole day… it's still very rough, but I've been able to accomplish so much by just A) studying the way it outputs data structures, and B) assuming all the functional programming verbs work the way I want them to.
Currently, NuShell feels like a fighting game mid-tier combo character: kinda bad at the bread-and-butter stuff, but it does look dang good when it gets to do the thing it did in the trailer.
Trying out NuShell (https://www.nushell.sh/). In this screenshot here, I'm merging an undisclosed number of JSON files containing filename-array mappings, that for some reason have an incorrect 'gzip' extension, all without using jq.
All original content on this site, except where noted, is property of Leon, all rights reserved.