tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fwd: Re: interactive shell detection in shrc



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


Home | Main Index | Thread Index | Old Index