TIP: Click on subject to list as thread! ANSI
echo: linux
to: ANDREW CLARKE
from: WILFRED VAN VELZEN
date: 2015-06-13 18:10:00
subject: Re: Shell script issue; r

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.