this post was submitted on 30 Oct 2023
120 points (100.0% liked)

Linux

1259 readers
85 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
120
Permanently Deleted (reddthat.com)
submitted 1 year ago* (last edited 11 months ago) by PumpkinDrama@reddthat.com to c/linux@lemmy.ml
 

Permanently Deleted

you are viewing a single comment's thread
view the rest of the comments
[–] dino@discuss.tchncs.de 1 points 1 year ago (1 children)

nu is probably the best shell for ad-hoc data processing, handling all my daily needs in one expression.

I am really struggling with this, I heard about nu shell some time ago, but the fact that you had to learn some form of new language made me reluctant to actually try it. As a fisher user I want to have sane usable defaults, without having to learn just another programming language for a "tool".

What am I missing?

[–] Spore@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

It kinda fills a niche.

I use fish for simple command pipelines as well. But traditional shells are not as good when I need to do anything "structured", because they treats almost any value as a string and don't have anonymous functions. The first problem means that you have to parse a string again and again to do anything useful, the second means that when both pipe and xargs fails you are doomed.
Nu solves both of the big problems that matters when you want to do rather complex but ad-hoc processing of data. And with a rather principled design, nu is very easy to learn (fish is already way better than something POSIX like bash though).

Personally another important reason is that I have a Windows machine at work and nushell is much easier than pwsh.

Btw fish is also going to be a "tool in rust" soon :)