Re: Syntax error: Bad substitution

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

 



On 10/29/06, Ralph Alvy <ralph@xxxxxxxxxxxxx> 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.

--
mitu
-
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