RE: Variable not set correctly in bash

2005-04-13 Thread Andre Dieball
an Dessent Sent: Mittwoch, 13. April 2005 08:03 To: cygwin@cygwin.com Subject: Re: Variable not set correctly in bash Andre Dieball wrote: > NEW=$[ $OLD + 1 ] That construct is a bash extension that is not part of the regular bourne shell capability. On linux, /bin/sh is b

Re: Variable not set correctly in bash

2005-04-12 Thread Brian Dessent
Andre Dieball wrote: > NEW=$[ $OLD + 1 ] That construct is a bash extension that is not part of the regular bourne shell capability. On linux, /bin/sh is bash, so it works. On Cygwin, /bin/sh is ash which is a more basic bourne shell that does not have all the extra extensions t

Variable not set correctly in bash

2005-04-12 Thread Andre Dieball
Gents I'm running some rsync scripts in order to backup my Linux machine to my windows machine (unfortunately, the windows one is the one with more capacity) These scripts actually run fine when running in "standard" Linux environments (using the between linux's as well), but for what ever rea