Re:Nushell.sh ls | where size > 10mb | sort-by modified
by stingraycharles on Sunday March 12, 2023 @05:34PM
(#35126579)
Isn’t this the problem with older shells as well? Eg you have to use e.g. awk or sed to deal with more complicated text processing. My understanding that the biggest difference between powershell (and nushell) and the older bash-like shells is that they deal with structured, object-like data rather than text. How would things be any different when “things break down” vs an older shell?
[ Parent
| on HN ]
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by jrumbut on Sunday March 12, 2023 @09:56PM
(#35129739)
One of the nice things about bash is that it interacts very nicely with Perl and Ruby.
I wonder how these other shells work with the backticks and such in Perl/Ruby. Theoretically there is room for very cool interoperability but I wonder how it goes in practice and if any nice tools and patterns are being developed.
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by phist_mcgee on Sunday March 12, 2023 @11:57PM
(#35130832)
Since this is nushell and perl and ruby are now starting to be considered 'old, is that so much of a problem?
Re:Nushell.sh ls | where size > 10mb | sort-by modified
by jrumbut on Tuesday March 14, 2023 @04:47AM
(#35148806)
It's a path to scaling. You can basically dump a shell script (I assume including nushell) into your .pl/.rb file with a little punctuation and then slowly refactor it to a language that can handle greater complexity.