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