Author: Stan Eisenstat
Subject: Re: [Cs323] VARIABLE=VALUE Filename
Date: Monday, 28 Sep 2020, 08:27:31
> Message Posted By: Unknown
>
> Why does < a=b c return:
>
> CMD (Depth = 0): SIMPLE, argv[0] = c <a=b
>
> and not a filename value error?
Because a=b is a valid filename, as you can verify with
% touch a=b
% ls -l a=b
=====
> The specs specified that "FILENAME = TEXT" and that "TEXT token of the
> form NAME=VALUE is always treated as a [local] if it can be."
But a < must be followed by a TEXT token, and that takes
precedence.
=====
> Does that mean FILNAMES can be VARIABLE=VALUE pairs also? Or does it mean
> that in the case of a FILENAME specification the
> VARIABLE=VALUE pair is ignored?
See above.
--Stan-
PREV
INDEX
NEXT