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