Re: Fwd: Re: interactive shell detection in shrc

RVP <[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
On Tue, 24 Sep 2024, RVP wrote:

>> |  if "${___SHRC:-:}"
>>
>>  A syntax error of yours?
>> 
>
> No, that becomes `if ":" ...' $___SHRC is undefined or empty. You need to
> write it that way, else it's a syntax error.
>

Sorry, I meant to say a "command not found" error (when trying to execute an
empty string when "$___SHRC" is null or empty).

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