[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
This was fixed in 0.5.4-3 ** Changed in: dash (Ubuntu) Status: Confirmed = Fix Released -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
** Changed in: dash (Debian) Status: New = Fix Released -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
** Changed in: dash (Debian) Status: Fix Released = New -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
** Changed in: dash (Debian) Status: New = Fix Released -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
I have opened a new bug for the wider set of dash incompatabilites at https://bugs.launchpad.net/ubuntu/+source/dash/+bug/141481 -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
** Changed in: dash (Ubuntu) Importance: Undecided = Medium -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
** Changed in: dash (Debian) Status: Unknown = Unconfirmed -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
I can confirm the same behavior on my Feisty box and also that there is no error with /bin/bash. I'll have to leave the POSIX question to someone else. ** Changed in: dash (Ubuntu) Status: Unconfirmed = Confirmed -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
FYI, some relevant details from POSIX: Section 2.3, Token Recognition: 5. If the current character is an unquoted '$' or '`', the shell shall identify the start of any candidates for parameter expansion ( Parameter Expansion), command substitution ( Command Substitution), or arithmetic expansion ( Arithmetic Expansion) from their introductory unquoted character sequences: '$' or ${, $( or '`', and $((, respectively. The shell shall read sufficient input to determine the end of the unit to be expanded (as explained in the cited sections). Section 2.6.2, Parameter Expansion: The format for parameter expansion is as follows: ${expression} where expression consists of all characters until the matching '}'. Any '}' escaped by a backslash or within a quoted string, and characters in embedded arithmetic expansions, command substitutions, and variable expansions, shall not be examined in determining the matching '}'. [...] The parameter name or symbol can be enclosed in braces, which are optional except for positional parameters with more than one digit or when parameter is followed by a character that could be interpreted as part of the name. The matching closing brace shall be determined by counting brace levels, skipping over enclosed quoted strings, and command substitutions. --- In addition to bash I've checked Solaris /bin/sh and ksh and they don't report an error. -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
The applicable portion of POSIX is in XCU 2.10.1: The WORD tokens shall have the word expansion rules applied to them immediately before the associated command is executed, not at the time the command is parsed. This seems fairly clear to me. -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
** Also affects: dash (Debian) Importance: Undecided Status: Unconfirmed -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
** Changed in: dash (Debian) Importance: Undecided = Unknown Bugwatch: None = Debian Bug tracker #418774 Status: Unconfirmed = Unknown -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 105634] Re: dash gives Syntax error: Bad substitution on valid syntax
** Changed in: dash (Ubuntu) Assignee: (unassigned) = Micah Cowan -- dash gives Syntax error: Bad substitution on valid syntax https://bugs.launchpad.net/bugs/105634 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs