Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: using brackets in scripts



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