Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: using brackets in scripts
- X-seq: zsh-users 13987
 
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxx>
 
- To: zsh-users@xxxxxxxxxx, xtekhne@xxxxxxxxx
 
- Subject: Re: using brackets in scripts
 
- Date: Sun, 29 Mar 2009 13:45:15 +0300
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=gamma;        h=domainkey-signature:received:received:from:to:subject:date         :user-agent:references:in-reply-to:mime-version:content-type         :content-transfer-encoding:message-id;        bh=a2AqVzsjUWhKT3B7R+uKuYmCxOzH142lGjPWv6+ZUvE=;        b=ecVxHV9pLh46Hm3SyoiHgDJ79nIydl+guiGRA1vKWf4UN3zyl5F1yl5xvDc1o0CJTx         2lmbeVB5DahnyHpo8MgmKw80XrGdj4Lfgdhan6+T2+Y+tMrb3eusp/5OCURnZNov/CF3         /bnvKbEr2hNBC1HiVBDwKM82MnCjCablwWntg=
 
- Domainkey-signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;        h=from:to:subject:date:user-agent:references:in-reply-to:mime-version         :content-type:content-transfer-encoding:message-id;        b=CX3oAopz8d5+6l8u6A8+tbSpi1j0A+ExE9VZ2PCERYrrxvNxBGgwjWLEDl/jdM+aT1         hdFb0Uso4731V89lW2Ma+fHnEfGQwNHhUvspgJLLoGiyLZXDuIxezDHzixV4zJ6Eha5n         OLfJu0zW5NY6mpvovsFXt3jMvmO/ajNJdjRLk=
 
- In-reply-to: <gqnfh0$t9t$1@xxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
 
- References: <gqnfh0$t9t$1@xxxxxxxxxxxxx>
 
On 29 ÐÐÑÑÐ 2009 13:29:58 Pol wrote:
> While the command
> ls -l save/*(.)
>
> returns a list of files, as expected, entering the same command in a
> shell script does not work, returning:
>
>      Syntax error: "(" unexpected
>
> Any ideas?
>
Your script is likely being run by different shell (bash or whatever). I 
was not able to achieve this effect by (un-)setting zsh options.
Attachment:
signature.asc
Description: This is a digitally signed message part.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author