Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
variables not working as expected
- X-seq: zsh-users 14253
- From: spiralofhope <spiralofhope@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: variables not working as expected
- Date: Fri, 24 Jul 2009 11:36:35 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=qQhAOM7H++nWkWzSxAxJJmdrjt53lIOeqYOgF17LSSI=; b=gupaKnfqz7o0b8VppUijQtQ6fbXTqIgw74RemgJNmIF283dfgjMGZw8CYN45h+D6D6 NWC1kxzZ8DXmRm7hvqVhqhwbtoadMwz9UaTzmPsqE0EK3ZsTGFjGPYNEuBoRdyJJTPDu HkrBKmoJzEfFKyfr/fbEE+SU8mJPiy9ihwjh4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=YYPE0X33qnjUrLWn1ocqoDFWMAHrBwoM9+ky8+pAoYnBxctMXStUdfdj5c+Y9CxR7G aGk54VP3morOz+Ee3GshFBfE+2PH/ZeLvkBPh91vKAWL5vC+hc44JfQCzGR+wtffpCc4 Lp9YoQ78RTr/xyOJLXl2dQlDgtwm0SzWfHs68=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
This works in bash, dash, ash and sash, but not in zsh:
a="echo foo bar"
$a
-
in zsh, this works:
a="echo"
b="foo bar"
$a $b
-
in bash, dash, ash and sash, this works, but not in zsh:
a=ls
b="-a -l"
$a $b
-
I tried variations, such as:
a=ls
b=" -a -l"
$a$b
But I still canât get it working. Is this a bug? Or is there a
compatibility mode which I could use?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author