Bug 187162 - Problem with sort and "+"
Problem with sort and "+"
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2006-03-28 16:54 EST by Mickael
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-28 16:58:16 EST
Type: ---
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 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):

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."

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