Re: Syntax error: Bad substitution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Clarke wrote:

> Fri, Oct 27, 2006 at 08:32:32PM -0700, Ralph Alvy may have written:
> 
>> 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?
> 
> That's an error message from your shell.  It doesn't like something about
> line 86 of the "xdosemu" shell script.  What does that line of that script
> look like (I don't have a dosemu I can look at right now)?
> 
> To get more information, you could turn on the shell's tracing mode; for
> Bourne shells, you can change:
> 
> #! /bin/sh
> 
> to
> 
> #! /bin/sh -x
> 
> or add a "set -x" command into the script.
> 
> Matt.


84        -install)
85            INSTALL=1
86            if [ -n "$2" -a "${2:0:1}" != "-" ]; then
87              PROPRIETARY=$2


This is the only distro I've seen this happen, and I use dosemu 1.2.2 under
Slackware 11, Arch Current, Debian Testing, Mepis 6, and Fedora Core 5.

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux