Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: using brackets in scripts
- X-seq: zsh-users 13986
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: using brackets in scripts
- Date: Sun, 29 Mar 2009 12:43:45 +0200
- In-reply-to: <gqnfh0$t9t$1@xxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <gqnfh0$t9t$1@xxxxxxxxxxxxx>
Pol <xtekhne@xxxxxxxxx>:
> 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?
You're using zsh's glob-qualifiers in a script interpreted by another
shell. These qualifiers are zsh specific.
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author