du -s * | sort -n -r | sed 10q
Nushell.sh ls | where size > 10mb | sort-by modified
111–120 of 215 posts
Re: Nushell.sh ls | where size > 10mb | sort-by modified
#112So, '>' isn't for redirection anymore. How does one do that? open foo.txt | append "world"| save --raw foo.txt Oh.
Hm. Why not re-use "tee"? https://www.man7.org/linux/man-pages/man1/tee.1.html
Re: Nushell.sh ls | where size > 10mb | sort-by modified
#113Re: Nushell.sh ls | where size > 10mb | sort-by modified
#114What's the story with not having a deb / flatpak / appimage or snap distribution? Just lack of resources to help package?
For now, Homebrew works if you want a cross-distro way to install Nu on x64 Linux.
Re: Nushell.sh ls | where size > 10mb | sort-by modified
#115I like the trend of commands adding json output. Then you don't need to get a new shell just incrementally add other commands than can process json.
Happily, this includes import/conversion functions for new shells, so this plays nice with efforts like Nushell as well.
Re: Nushell.sh ls | where size > 10mb | sort-by modified
#116I like the trend of commands adding json output. Then you don't need to get a new shell just incrementally add other commands than can process json.
Re: Nushell.sh ls | where size > 10mb | sort-by modified
#117Earlier quoted context omitted.
Fair point. But how often do you make those kinds of changes in any of your scripts and not have to change anything? For me, exactly 0 times
Quite frequently? "Oh this operation turned out to take a while, I'll use pv instead of cat", or "oh what I grepped for wasn't in the current log, it's probably in the previous log that's gzipped, I'll replace 'cat current.log' with 'zcat previous.log'".
Re: Nushell.sh ls | where size > 10mb | sort-by modified
#118I tried to use it as my main shell for a couple days, found it fun and potentially useful, played with its unique features... and eventually uninstalled it and went back to zsh. For 99.99% of what I use a shell for, Nushell doesn't do anything that I can't do with a regular shell. Maybe just because I'm used to shells/sed/awk/etc. For the few cases where Nushell could be useful, I can usually do the same thing with V…
What if someone starts from a clean slate. Which shell is better? That is the question. Old habits hold us back from progress in usability. Eventually if one system is better it should completely replace the old system. But only if it's better. What one power user deems as "useful" according to his own usage patterns shouldn't be a metric for measurement. I haven't played with nushell yet, but it actually seems more…