Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: using brackets in scripts
- X-seq: zsh-users 13988
- From: Pol <xtekhne@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: using brackets in scripts
- Date: Sun, 29 Mar 2009 13:08:06 +0200
- Mail-copies-to: xtekhne@xxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: (Soft)
- References: <gqnfh0$t9t$1@xxxxxxxxxxxxx> <200903291445.32918.arvidjaar@xxxxxxxxx>
- Reply-to: xtekhne@xxxxxxxxx
- Sender: news <news@xxxxxxxxxxxxx>
Andrey Borzenkov wrote:
> 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.
My script starts with
#!/bin/zsh
but then commands are preceded by 'sudo'
Same result if commands in script are not preceded by 'sudo', but the
script itself is launched by 'sudo' .
anyway, no errors when the command is entered through the interactive shell
sudo ls -l save/*(.)
Any ideas?
---P
Messages sorted by:
Reverse Date,
Date,
Thread,
Author