PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: [Cs323] output
Date: Thursday, 15 Oct 2020, 07:16:41


    > Message Posted By: Unknown
    >
    > why is the output of "${ab}}" on the solution script ">> }"?

Probably because ab is not defined and ${ab} is replaced
by the empty string.  For example, compare

  $ /c/cs323/Hwk3/mcBash
  (1)$ ${ab}}
  >> }
   
versus

  $ ab=cd /c/cs323/Hwk3/mcBash
  (1)$ ${ab}}
  >> cd}

--Stan-
PREV INDEX NEXT