tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sh(1) and NUL



On Wed, Sep 25, 2024 at 10:49:20PM +0700, Robert Elz wrote:
>     Date:        Wed, 25 Sep 2024 16:44:12 +0200
>     From:        Thomas Klausner <wiz%NetBSD.org@localhost>
>     Message-ID:  <ZvQhvHR8bw1VKXnE%exadelic.gatalith.at@localhost>
> 
>   | Since we're talking about sh(1) so much - OpenBSD just changed their
>   | ksh to abort on reading NUL in shell scripts.
>   |
>   | Perhaps we want something similar?
> 
> That's one of the easier changes to implement, if it seems like
> a good idea - or it is if one assumes "abort" there means just
> issue an error (in a non-interactive shell the shell would exit,
> in an interactive shell it would just return for the next input).

Sounds fine with me!
 Thomas


Home | Main Index | Thread Index | Old Index