From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralph Alvy Subject: Re: Syntax error: Bad substitution Date: Mon, 30 Oct 2006 13:14:29 -0800 Message-ID: References: <20061028225657.GA18195@bluesong.van.maves.ca> <20061029004107.GA8494@bluesong.van.maves.ca> Mime-Version: 1.0 Content-Transfer-Encoding: 7Bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org Cristi Mitrana wrote: > On 10/29/06, Ralph Alvy wrote: >> Bart Oldeman wrote: >> >> > if [ -n "$2" -a -n "${2%%-*}" ]; then >> >> I tried your substitution under Kubuntu 6.10. Two comments: >> >> 1. There's one more instance where the substitution must be made: line >> 98. >> >> 2. xdosemu loads fine, though there is one error message upon loading: >> >> [: 373: 0: unexpected operator > > [...] > > That is because the new Ubuntu release uses dash instead of bash for > /bin/sh and hence all bash constructs are not supported. > Isn't that a rather severe change?