1. 18
    1. 3

      Nushell seems like a very cool project. However, when I tried it out, I didn’t feel like my shell use cases really overlapped with those where it shines.

      Has anyone found nushell super helpful for something they were trying to do? If so, what was your use case?

      1. 5

        I don’t use it as a real shell but as a scripting tool, my use cases were:

        • I had a text file with lines that had the template: “last access date | directory path”, and I wanted to sort the lines not by the last access dates but by the paths.
        • I wrote a small script that checked memory usage of Firefox, and showed a OS notification (with notifu) if it was using more than 2 gigabytes of memory.
        • Also did a comparison between different tools: Download all tarballs of an NPM package
        1. 2

          I got a bit obsessed with golfing the powershell script, and here’s what I got:

          (irm "https://registry.npmjs.org/del").versions.PSObject.Properties.Value.dist.tarball | % {iwr $_ -O $_.split("/")[-1]}

          Still not competitive with grepping or jq but at least it beats the nushell!