Joerg Schilling wrote, on 06 Jul 2021:
>
> "Geoff Clare via austin-group-l at The Open Group" 
> <[email protected]> wrote:
> 
> > > If you like to disable -s, better use +s
> > 
> > That wouldn't be suitable for standardisation as it doesn't follow
> > syntax guideline 4. The standard would need to use a different letter,
> > maybe -F for "fully sorted", or -l/-L for "last resort", or -w/-W for
> > "whole line".
> 
> We already have +option in the standard, see the shell....

Wherever + is required or allowed to introduce options, it is
explicitly stated to be an exception to the syntax guidelines.
We should not introduce any more such exceptions.

In the case of sort, + is currently allowed to introduce options in
order to allow implementations to continue to support the historical
sort key syntax. However, adding +s would mean + before options would
become mandatory instead of it being optional, so I still think it
would be an inappropriate choice.

-- 
Geoff Clare <[email protected]>
The Open Group, Apex Plaza, Forbury Road, Reading, RG1 1AX, England

  • Re: sort -c/C and l... Robert Elz via austin-group-l at The Open Group
    • Re: sort -c/C ... Stephane Chazelas via austin-group-l at The Open Group
    • Re: sort -c/C ... Stephane Chazelas via austin-group-l at The Open Group
      • Re: sort -... Geoff Clare via austin-group-l at The Open Group
      • Re: sort -... Robert Elz via austin-group-l at The Open Group
      • Re: sort -... Joerg Schilling via austin-group-l at The Open Group
      • Re: sort -... Robert Elz via austin-group-l at The Open Group
        • Re: so... Joerg Schilling via austin-group-l at The Open Group
          • Re... Geoff Clare via austin-group-l at The Open Group
            • ... Joerg Schilling via austin-group-l at The Open Group
              • ... Geoff Clare via austin-group-l at The Open Group
        • Re: so... Robert Elz via austin-group-l at The Open Group
          • Re... Joerg Schilling via austin-group-l at The Open Group
    • Re: sort -c/C ... Robert Elz via austin-group-l at The Open Group

Reply via email to