Bug 965799

Summary: sort has undocumented options
Product: Red Hat Enterprise Linux 6 Reporter: Tomas Dolezal <todoleza>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED NOTABUG QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-22 07:04:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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

Version-Release number of selected component (if applicable):
coreutils-8.4-19.el6_4.2.x86_64

How reproducible:
always

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

Actual results:
empty output

Expected results:
either:
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 07:04:57 UTC
+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.