Hi,
On 2015-06-13 23:43:52, andrew clarke wrote to Wilfred van Velzen:
about: "Shell script issue; rsync error wtf":
WV>> What shell is /bin/sh on your system? Have you tried explicitly
WV>> setting #!/bin/bash for instance?
ac> I don't think that would've helped the OP. It's better to avoid
ac> BASH-specific stuff in shell scripts anyway.
Depends. If it's a "local" script, why not...
ac> On a lot of systems these days /bin/sh is DASH, which is closer in
ac> syntax to the Bourne shell than BASH. Probably safer to use, too.
ac> I use tcsh on the command-line, but always /bin/sh for scripts. Anything
ac> really complicated and I'll use Python.
Me too. ;)
Bye, Wilfred.
--- FMail-W32-1.69.6.114-B20150605
* Origin: Native IPv6 connectable node (2:280/464)
|