Red Hat Bugzilla – Bug 187162
Problem with sort and "+"
Last modified: 2007-11-30 17:11:28 EST
Description of problem:
Using function sort with "+" is not possible
Version-Release number of selected component (if applicable):
Steps to Reproduce:
echo "aaa" > aaa
echo "bbbbb" > bbbbb
ls -l |sort -n +4
sort: open failed: +4: No such file or directory
The directory sort by size
I am french, excuse for my english.
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."