๐Ÿ’พ Archived View for bbs.geminispace.org โ€บ u โ€บ clseibold โ€บ 6051 captured on 2023-11-04 at 16:51:42. Gemini links have been rewritten to link to archived content

View Raw

More Information

โžก๏ธ Next capture (2023-11-14)

-=-=-=-=-=-=-

Comment by ๐Ÿš€ clseibold

Re: "Just found this Nushell. This is very close to what I have..."

In: u/clseibold

@drh3xx Seems to take some inspiration from Powershell, but yeah, definitely significantly better than powershell, and less object-oriented. I don't care for its greater focus on functional programming though. I haven't used Fish before, so can't say anything about that.

As for the posix commands, I'm not sure I understand. There are no "official" implementations of posix commands, and almost all implementations that I know of are in fact native, both if they are built into the shell and if they are outside (in which case any shell would have access to them).

The shell is definitely not for those who are religious about Posix. The impression I get is that it tries to *restore* the unix methodology to clis by rejecting some of Posix, because let's just be honest here, POSIX is actually the worst thing to ever exist in the *nix ecosystem.

๐Ÿš€ clseibold

2023-10-09 ยท 4 weeks ago

2 Later Comments โ†“

๐Ÿ drh3xx

What I was getting at was for example the ls command they showcase on the linked page. Presumably they provide a binary or (I guess more likely a multitarget binary; similar to how busybox operates) common to nushell which is aware of the data types rather than parsing the output of various systems ls command. ls is probably not the best example. Another would be ps on OpenBSD which shows additional attributes regarding pledge etc. My concern was over potential loss of functionality (and possibly security) over using the OS native implementation. Perhaps I should have been clearer regards what I meant by native; sorry if it caused some confusion.

๐Ÿš€ clseibold

@drh3xx Yes, they must reimplement these tools to be able to produce and work on structured data. I think the only way to see if there's loss of functionality is to see if the tools they provide has all the functionality you need. I doubt most of the tools are less secure than the ones provided by the OS (actually, the shell utils are not part of the core OS, they are part of userspace, but of course userspace programs can be packaged with an OS; so really it'd be GNU's implementation, or whatever other unix utils implementation there is).

Original Post

๐Ÿš€ clseibold

Just found this Nushell. This is very close to what I have been wanting modern shells to be! I'm definitely excited to look more into it.

๐Ÿ’ฌ 4 comments ยท 2023-10-09 ยท 4 weeks ago