Hi, 

  The delivered version of sort (under Linux) seems to give expected
  results given with Red Hat 5.2 and 6.0, where unfortunate the version
  as included under Red Hat 6.2 makes me dizzy.

  Am I missing something here ???


Red Hat Linux release 5.2 (Apollo)
sort (GNU textutils) 1.22
=====================================================
        <wtenhave@kristie:1> cat > /tmp/P
        1
        1
        2
        4
        5
        <wtenhave@kristie:2> od -c /tmp/P
        0000000   1  \n   1  \n   2  \n   4  \n   5  \n
        0000012
        <wtenhave@kristie:3> /bin/cat /tmp/P | /bin/sort -n | /usr/bin/uniq
        1
        2
        4
        5




Red Hat Linux release 6.2 (Zoot)
sort (GNU textutils) 2.0a
=====================================================
        <wtenhave@berend:1> cat > /tmp/P
        1
        1
        2
        4
        5
        <wtenhave@berend:2> od -c /tmp/P
        0000000   1  \n   1  \n   2  \n   4  \n   5  \n
        0000012
        <wtenhave@berend:3> /bin/cat /tmp/P | /bin/sort -n | /usr/bin/uniq
        5
        1
        4
        2


-- 
-- Wim ten Have.                AUDIX: 245 2981
Phone: (+31) 346 582981, Fax: Euro (+31) 346 552884, Room (+31) 346 558415



Reply via email to