Bug 187162

Summary: Problem with sort and "+"
Product: [Fedora] Fedora Reporter: Mickael <micled>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: meyering
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-28 16:58:16 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Mickael 2006-03-28 16:54:55 EST
Description of problem:
Using function sort with "+" is not possible

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

How reproducible:

Steps to Reproduce:
mkdir test
cd test
echo "aaa" > aaa
echo "bbbbb" > bbbbb
ls -l |sort -n +4
sort: open failed: +4: No such file or directory
  
Actual results:
One error

Expected results:
The directory sort by size

Additional info:
I am french, excuse for my english.
Comment 1 Tim Waugh 2006-03-28 16:58:16 EST
info coreutils 'Standards Conformance'


"For example, if you are running older software that
 assumes an older version of POSIX and uses `sort +1', `head -1', or
 `tail +1', you can work around the compatibility problems by setting
 `_POSIX2_VERSION=199209' in your environment."