I have switched to zsh, how can I run a script which is written for bash?
I don't want to modify the script to put #!/bin/bash in the beginning for the script since it is version controlled.
Is there another way?
The line of the script having problem is:
for f in `/bin/ls v/*/s.sh v/*/*/v.sh d/*/*/v.sh 2> /dev/null`
ls. – gniourf_gniourf Dec 21 '12 at 20:56for f in v/*/s.sh v/*/*/v.sh d/*/*/v.sh(this uses the built in glob-substitution ofbash) – neersighted Dec 21 '12 at 23:08