Re: sh(1) and NUL

Thomas Klausner <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
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 <[email protected]>
>     Message-ID:  <[email protected]>
> 
>   | 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.