News for hackers. Stuff that matters.
Re:One Year of Nushell by moonchild on Monday August 24, 2020 @10:58PM (#24267764)
> Personally, I think Result types make a lot of sense -- a program either succeeds with some output, or fails with an explanation of why

Usually, this is what happens. Usually, the error-signalling return is accompanied by a message (posted to stderr).

> By default, pipes stop piping if one command fails

  set -o pipefail
Re:One Year of Nushell by toastal on Tuesday August 25, 2020 @12:31AM (#24268134)
pipefail is not available to POSIX shells like dash
Re:One Year of Nushell by roryrjb on Tuesday August 25, 2020 @03:16AM (#24268843)
set -o pipefail is now part of POSIX[0] and I believe as soon as someone posts a patch to dash to implement it, it will get included[1].

[0]. https://www.austingroupbugs.net/view.php?id=789

[1]. https://lore.kernel.org/linux-dash/20200701015226.GA6839@gon...

Re:One Year of Nushell by toastal on Wednesday August 26, 2020 @12:44AM (#24279191)
This is great! Thanks for posting it.