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

Re: using brackets in scripts



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