Re: Fwd: Re: interactive shell detection in shrc

RVP <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
On Mon, 30 Sep 2024, Robert Elz wrote:

>  | This is _very_ surprising; esp. when /bin/sh doesn't allow chars.
>  | like `/' and `.' in the function name.
>
> Huh?
>
> sh $ a.v() echo I have a dot in my name
> sh $ a.v
> I have a dot in my name
>

Ah, that's right. It's FreeBSD's /bin/sh (and dash) which doesn't allow it.
(Mixed up my Qemu instances--sorry!)

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