delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/25/05:21:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: bash: simple command problem
Date: Fri, 25 Jun 2004 11:21:03 +0200
Message-ID: <AE9593E6D161544D82CEFCA0552EEAAE013DECFD@ebexbn01.dpeb.de>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: cygwin DOT 20 DOT job AT spamgourmet DOT com
To: cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019