From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralph Alvy Subject: Re: Syntax error: Bad substitution Date: Fri, 27 Oct 2006 23:22:42 -0700 Message-ID: References: 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 Ralph Alvy wrote: > I'm getting the following error when running dosemu 1.2.2 under a newly > installed Kubuntu 6.10: > > ./xdosemu: 86: Syntax error: Bad substitution > > What might be going on here? Here are the last few lines of 'strace xdosemu': fcntl64(10, F_SETFD, FD_CLOEXEC) = 0 rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0 rt_sigaction(SIGINT, {0x8054c2e, ~[RTMIN RT_1], 0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0 read(10, "#! /bin/sh\n#\n# (C) Copyright 199"..., 8192) = 8192 write(2, "./xdosemu: 86: ", 15./xdosemu: 86: ) = 15 write(2, "Syntax error: Bad substitution", 30Syntax error: Bad substitution) = 30 write(2, "\n", 1 ) = 1 exit_group(2) = ? Process 4840 detached