PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] Eg
Date: Wednesday, 14 Oct 2020, 07:06:02


    > Message Posted By: Unknown
    >
    > "${b=${a b=${c-hello}}}"
    >
    > If we have the following above, shouldn't this be an invalid command as
    > there is a space between "a" and "b"?

Yes, as is illustrated by

  % /c/cs323/Hwk3/mcBash
  (1)$ ${b=${a b=${c-hello}}}
  Invalid expansion
  ...

--Stan-
PREV INDEX NEXT