Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Robert Elz
Date:Thu, 12 Apr 2018 09:24:51 +0100 From:Geoff Clare Message-ID: <20180412082451.GA3949@lt2.masqnet> | Bug 985 moves the detail from the current 2.13 into the fnmatch() | description and makes 2.13 refer to fnmatch(). Oh - I did not read all

[1003.1(2013)/Issue7+TC1 0000985]: quote removal missing from case statement patterns and alternative expansions

2018-04-12 Thread Austin Group Bug Tracker
A NOTE has been added to this issue. == http://austingroupbugs.net/view.php?id=985 == Reported By:rhansen Assigned To:

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Joerg Schilling
Robert Elz wrote: > Date:Wed, 11 Apr 2018 15:14:00 +0100 > From:Geoff Clare > Message-ID: <20180411141400.GA32463@lt2.masqnet> > > | I also have a feeling we will have to abandon the neat idea of defining > | shell pattern

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Geoff Clare
Robert Elz wrote, on 12 Apr 2018: > > Date:Wed, 11 Apr 2018 15:14:00 +0100 > From:Geoff Clare > > | I also have a feeling we will have to abandon the neat idea of defining > | shell pattern matching in terms of fnmatch(). > >

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Geoff Clare
Joerg Schilling wrote, on 12 Apr 2018: > > It seems that we need to define how quoting works in a real shell > implementation. > > If we require the strings to be in the form \c\h\a\r in case of a quoted > string > at that specific part of the shell, we

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Geoff Clare
Robert Elz wrote, on 12 Apr 2018: > > Date:Thu, 12 Apr 2018 11:39:11 +0100 > From:Geoff Clare > > | Huh? The '-' is quoted by the double quotes and should therefore be > | treated literally. > > The problem is that there is

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Joerg Schilling
Geoff Clare wrote: > > > > > ["a\-c"] the backslash is not special and should be treated literally > > > > This string is converted into [\a\\-\c] by the shell macro expansion code. > > > > With the shell gmatch() code, this results in a match for 'a' and '\\' .. > > 'c'.

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Joerg Schilling
Robert Elz wrote: > And yes, in particular if a [a\-c] means a class with the three chars 'a' '-' > and 'c' in it in sh it should mean that in fnmatch() as well, or if that > pattern means a class with 8 chars (0x5c .. 0x63) with 'a' there 2 ways, > in fnmatch() then it

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Joerg Schilling
Geoff Clare wrote: > > Maybe, I should again mention history: > > > > - fmnatch() has been introduced with issue 4 (1995). It does not > > seem to be related to a historic UNIX. Since the oldest known > > implementation is from IBM,

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Robert Elz
Date:Thu, 12 Apr 2018 12:10:20 +0200 From:Joerg Schilling Message-ID: <5acf308c.yoyva4vzwwu8t7jp%joerg.schill...@fokus.fraunhofer.de> Jörg: | Since '' and "" quoting in the shell is highly complex and no longer present at |

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Robert Elz
Date:Thu, 12 Apr 2018 11:39:11 +0100 From:Geoff Clare Message-ID: <20180412103911.GA6656@lt2.masqnet> | Huh? The '-' is quoted by the double quotes and should therefore be | treated literally. The problem is that there is nothing in either

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Geoff Clare
Joerg Schilling wrote, on 12 Apr 2018: > > Geoff Clare wrote: > > > > Maybe, I should again mention history: > > > > > > - fmnatch() has been introduced with issue 4 (1995). It does not > > > seem to be related to a

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Robert Elz
Date:Thu, 12 Apr 2018 13:25:01 +0100 From:Geoff Clare Message-ID: <20180412122501.GA8783@lt2.masqnet> | Yes there is. I quoted it earlier in this thread. I know that, but that's useless for this purpose. We know the quoted (part of) the

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Geoff Clare
Robert Elz wrote, on 12 Apr 2018: > > Date:Thu, 12 Apr 2018 13:25:01 +0100 > From:Geoff Clare > > | Yes there is. I quoted it earlier in this thread. > > I know that, but that's useless for this purpose. We know the quoted >

[1003.1(2016)/Issue7+TC2 0001083]: "next" character is misleading

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been RESOLVED. == http://austingroupbugs.net/view.php?id=1083 == Reported By:Mark_Galeck Assigned To:

[1003.1(2016)/Issue7+TC2 0001100]: Rewrite of Section 2.10 Shell Grammar, of the Shell Standard, to fix previous reports, fix new issues, and improve presentation.

2018-04-12 Thread Austin Group Bug Tracker
The issue 0001093 has been set as DUPLICATE OF the following issue. == http://austingroupbugs.net/view.php?id=1100 == Reported By:Mark_Galeck

[1003.1(2016)/Issue7+TC2 0001100]: Rewrite of Section 2.10 Shell Grammar, of the Shell Standard, to fix previous reports, fix new issues, and improve presentation.

2018-04-12 Thread Austin Group Bug Tracker
The issue 0001091 has been set as DUPLICATE OF the following issue. == http://austingroupbugs.net/view.php?id=1100 == Reported By:Mark_Galeck

[1003.1(2016)/Issue7+TC2 0001091]: Some "WORD tokens" do not have "the associated command"

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been set as DUPLICATE OF issue 0001100. == http://austingroupbugs.net/view.php?id=1091 == Reported By:Mark_Galeck

[1003.1(2016)/Issue7+TC2 0001098]: do_group symbol cannot be accepted as written, because rule 6 cannot yield Done token

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been set as DUPLICATE OF issue 0001100. == http://austingroupbugs.net/view.php?id=1098 == Reported By:Mark_Galeck

[1003.1(2016)/Issue7+TC2 0001086]: Token "Recognition" is misleading and the usage of "word" in that section should be clarified.

2018-04-12 Thread Austin Group Bug Tracker
A NOTE has been added to this issue. == http://austingroupbugs.net/view.php?id=1086 == Reported By:Mark_Galeck Assigned To:

[1003.1(2016)/Issue7+TC2 0001088]: "When more than one rule applies, the highest numbered rule shall apply " is pointless

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been set as DUPLICATE OF issue 0001100. == http://austingroupbugs.net/view.php?id=1088 == Reported By:Mark_Galeck

[1003.1(2016)/Issue7+TC2 0001100]: Rewrite of Section 2.10 Shell Grammar, of the Shell Standard, to fix previous reports, fix new issues, and improve presentation.

2018-04-12 Thread Austin Group Bug Tracker
The issue 0001088 has been set as DUPLICATE OF the following issue. == http://austingroupbugs.net/view.php?id=1100 == Reported By:Mark_Galeck

[1003.1(2016)/Issue7+TC2 0001086]: Token "Recognition" is misleading and the usage of "word" in that section should be clarified.

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been CLOSED. == http://austingroupbugs.net/view.php?id=1086 == Reported By:Mark_Galeck Assigned To:

[1003.1(2016)/Issue7+TC2 0001098]: do_group symbol cannot be accepted as written, because rule 6 cannot yield Done token

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been CLOSED. == http://austingroupbugs.net/view.php?id=1098 == Reported By:Mark_Galeck Assigned To:

[1003.1(2016)/Issue7+TC2 0001082]: "delimited" is incorrect

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been CLOSED. == http://austingroupbugs.net/view.php?id=1082 == Reported By:Mark_Galeck Assigned To:

[1003.1(2016)/Issue7+TC2 0001093]: "or applies globally" is pointless

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been set as DUPLICATE OF issue 0001100. == http://austingroupbugs.net/view.php?id=1093 == Reported By:Mark_Galeck

[1003.1(2016)/Issue7+TC2 0001100]: Rewrite of Section 2.10 Shell Grammar, of the Shell Standard, to fix previous reports, fix new issues, and improve presentation.

2018-04-12 Thread Austin Group Bug Tracker
The issue 0001098 has been set as DUPLICATE OF the following issue. == http://austingroupbugs.net/view.php?id=1100 == Reported By:Mark_Galeck

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Robert Elz
Date:Thu, 12 Apr 2018 12:10:04 -0700 From:Don Cragun Message-ID: | The fact that the $ is special is what is the key. The problem is in the interpretation of just what "treated literally" means.

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Robert Elz
I have also just realised that a better example than ${ in "" would have been $( inside "". There, because of the double quotes, the '(' is treated literally, as a '(' character, and not as the '(' operator. But still when the command substitition (inside the "") is performed, the '(' is

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Don Cragun
> On Apr 12, 2018, at 8:07 AM, Robert Elz wrote: > >Date:Thu, 12 Apr 2018 14:25:32 +0100 >From:Geoff Clare >Message-ID: <20180412132532.GA9483@lt2.masqnet> > > | It treats them as literal characters, just as 2.2.3 says. >

Re: Should shell quoting within glob bracket patterns be effective?

2018-04-12 Thread Robert Elz
Date:Thu, 12 Apr 2018 14:25:32 +0100 From:Geoff Clare Message-ID: <20180412132532.GA9483@lt2.masqnet> | It treats them as literal characters, just as 2.2.3 says. I thought that might have been the response, in that case in "${xxx}"

[1003.1(2008)/Issue 7 0001079]: focus on bc being an arithmetic language

2018-04-12 Thread Austin Group Bug Tracker
A NOTE has been added to this issue. == http://austingroupbugs.net/view.php?id=1079 == Reported By:tobiasm Assigned To:ajosey

[1003.1(2008)/Issue 7 0001079]: focus on bc being an arithmetic language

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been CLOSED. == http://austingroupbugs.net/view.php?id=1079 == Reported By:tobiasm Assigned To:ajosey

[Online Pubs 0001080]: Misplaced "Chapter 7, Locale"

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been CLOSED. == http://austingroupbugs.net/view.php?id=1080 == Reported By:dannyniu Assigned To:

[1003.1(2016)/Issue7+TC2 0001081]: sysconf shading error on obsolete system variables

2018-04-12 Thread Austin Group Bug Tracker
The following issue has been CLOSED. == http://austingroupbugs.net/view.php?id=1081 == Reported By:markh Assigned To: