From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralph Alvy Subject: Re: Syntax error: Bad substitution Date: Sun, 29 Oct 2006 09:24:33 -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 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