News for hackers. Stuff that matters.
Re:Nushell: Introduction to a New Kind of Shell by BoppreH on Wednesday November 02, 2022 @01:30PM (#33439687)
Ouch, that is a sharp corner:

    $ echo 'aaa' > a.txt
    $ echo 'bbb' > b.txt
    $ TMP="" # Mistake! Missing arg, failed search, typo'd name, etc.
    $ cp a.txt b.txt $TMP
    $ cat b.txt
    aaa
    $ # The contents of b.txt are lost.
Re:Nushell: Introduction to a New Kind of Shell by nextaccountic on Wednesday November 02, 2022 @02:13PM (#33440442)
cp itself should have been two commands, or at least accept two flags for those two very different semantics.

Actually there's a wave of unixy tools being written in Go and Rust and I think there might be a suitable cp replacement already, but it's up to distros to package it.