Re: interactive shell detection in shrc

Robert Elz <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
    Date:        Tue, 24 Sep 2024 03:06:49 +0300
    From:        Valery Ushakov <[email protected]>
    Message-ID:  <[email protected]>

  | I also wanted to drop the ${1+"$@"} workaroud for the v7 shell bug
  | which I'm pretty sure we are not going to hit in this day and age on a
  | NetBSD system, but I won't to get down that rabbit hole.

That one isn't a rabbit hole, by all means, go ahead and delete that
usage, you are unlikely to find broken "$@" in any shell anyone would
actually want to use any more - that was a truly ancient bug being
worked around, as distinct from a difference from what is required,
which return being ignored in a script is.

kre
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.