Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Quoting strings
- X-seq: zsh-users 15758
- From: Anonymous bin Ich <ichbinanon@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Quoting strings
- Date: Wed, 02 Feb 2011 09:00:52 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=3rvwX1BtisT/uNDyBeU30hpkdqcRiI/1GoDZioQxl2w=; b=ZZU+x/b2YfEecj4RAXhyThZXaADseMh5i9B8UFUA/tjYYoLRTrMTu4ubCcd7PMEifa N8Y/w3rbxJ+0H6h4aTR2yO0X2xE8bYiIk2j2tDL/MSZs6E4iMvBw7L3YMX000zKQ2DTG UhA/Z64RGtwi2wnmN4ueZEjeKSD3O977GtimY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=aDOGnOcvcwocxGL6mMUOEx2n2i9HC5WkaQgkiSaLa2nbLiPagfVQS19LzKfZQDhczu ZpIUhSeNhbJm7bM0hdp1PCFZhxS9l3Q6TtnB7rDhK6lYYZQOjRqlJzElnC+DqMC5b9pF E/NJ5VbVG4ew8uAcp3vu9x5JnbWHeOGGdBuVM=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi!
I have a string1='ls'
and string2='-l | cut -d " " -f6'
Now I create a new string3="$string1 $string2"
It all looks fine but when I try to run it via $($string3) I get:
+./working.zsh:7> '/bin/ls -l |cut -d " " -f6'
./working.zsh:7: no such file or directory: /bin/ls -l |cut -d " " -f6
Messages sorted by:
Reverse Date,
Date,
Thread,
Author