This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bash: simple command problem


Hi Folks

I hove the problem to set variable in front of executing a command. The
bash manpage says that a simple command is a set of variable assignment
followed by the command

So I think that

variableA=valA nextVariable=next echo $variableA $nextVariable
should echo valA next but when I try this in the bash the echo is empty

Did I understand something wrong or is it a bug?

Regards 

    Franz


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]