[Tcsh] Filename substitution test: ~ vs ~user vs $HOME
Christos Zoulas
christos at zoulas.com
Wed May 15 12:14:01 UTC 2019
Setting $HOME can affect the outcome of the tests; this should not be the case.
Resetting it to what it usually is (the home directory from the passwd file) is the
logical thing to do.
christos
> On May 15, 2019, at 5:12 AM, Leonardo Taccari <iamleot at gmail.com> wrote:
>
> Hello Christos,
>
> Christos Zoulas writes:
>> Still, it is not right... I committed a fix to reset $HOME before each of the affected tests.
>
> Thank you!
>
> Just out of curiosity, can you please elaborate what is not right?
> (the expansion of ~, ~user and $HOME when HOME environment variable
> is set AFAIK is the same also in other shells, i.e. ~/$HOME and
> ~\$user can get expanded to something different)
> --
> Tcsh mailing list
> Tcsh at astron.com
> https://mailman.astron.com/mailman/listinfo/tcsh
More information about the Tcsh
mailing list