Bug 965799 - sort has undocumented options
sort has undocumented options
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: coreutils (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Ondrej Vasik
Depends On:
  Show dependency treegraph
Reported: 2013-05-21 14:36 EDT by Tomas Dolezal
Modified: 2013-05-22 03:04 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-22 03:04:57 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tomas Dolezal 2013-05-21 14:36:49 EDT
Description of problem:
undocumented option '-y' and '+N -N' (N is a number) for position arguments

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. `touch file`
2. `sort -y file`

Actual results:
empty output

Expected results:
sort: invalid option -- 'y'
Try `sort --help' for more information.
or better have it documented

Additional info:
please see bug 956143 where support for +N -N was added, these are not documented neither.
Comment 1 Ondrej Vasik 2013-05-22 03:04:57 EDT
+N -N is intentionally undocumented - it is mentioned it is OBSOLETE format - thus is not recommended/mentioned on the manpage/info page. Still taken, but not documented. Regression was with wrong function, not with this format.
-y option is the same - accepted but ignored and not recommended - just for compatibility with Solaris.

Closing NOTABUG, I don't see any sense to add them to man/info documentation, as these are obsolete/compat options.

Note You need to log in before you can comment on or make changes to this bug.