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

Re: Bash Question



On Wed, Jul 05, 2017 at 10:31:02PM +0000, der.hans wrote:
> Am 06. Jul, 2017 schwätzte Jonathan Marquardt so:
> 
> > On Wed, Jul 05, 2017 at 09:53:15PM +0000, der.hans wrote:
> > > When running the command, your current shell evaluates the variable and
> > > replaces it with the variable's value before starting the echo command.
> > > When echo is run the command has already turned into "echo /bin/bash" or
> > > whatever your shell is, then echo produces "/bin/bash" as the output.
> > 
> > Yes, I thnk that OP's problem is that there is no output, probably because the
> > variable is not declared or empty.
> 
> Javier's response hints at the mystery.
> 
> The plain text version of the email stopped after the "echo $SHELL" line,
> but there are a couple if statements and a question in the html version.

Wow! Indeed, the plain text version is missig something. Another reason to
follow the netiquette and stop sending these stupid HTML mails...


Reply to: