From: Pol <xtekhne@gmail.com>
To: zsh-users@sunsite.dk
Subject: Re: using brackets in scripts
Date: Sun, 29 Mar 2009 13:08:06 +0200 [thread overview]
Message-ID: <gqnltq$c4f$1@ger.gmane.org> (raw)
In-Reply-To: <200903291445.32918.arvidjaar@gmail.com>
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
next prev parent reply other threads:[~2009-03-29 11:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-29 9:29 Pol
2009-03-29 10:43 ` Frank Terbeck
2009-03-29 10:45 ` Andrey Borzenkov
2009-03-29 11:08 ` Pol [this message]
2009-03-29 11:39 ` Atom Smasher
2009-03-29 15:12 ` Pol
2009-03-30 10:42 ` zzapper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='gqnltq$c4f$1@ger.gmane.org' \
--to=xtekhne@gmail.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).