🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1127

Difference in sort

#1127
From: Marty Leisner
Date: Fri, 20 Nov 1992 15:13
41 lines
1696 bytes
I'm running sort (from textutils version 1.3) on SunOS Sparcs 4.1.2...

The options are very different then the one on the sun...I don't have
a posix spec around...most of the time the GNU utilities are
better...

>From the sun:
NAME
       sort - sort and collate lines

SYNOPSIS
       sort  [  -bdfiMnr  ]  [ -tc ] [ sort-field ...] [ -cmu ] [
       -o[ ]output-file ] [ -T directory ]
        [ -y kmem ] [ -z recsz ] filename...

SYSTEM V SYNOPSIS
       /usr/5bin/sort [ -bdfiMnr ] [ -tc ] [  sort-field  ...]  [
       -cmu ] [ -o[ ]output-file ] [ -T directory ] [ -y kmem ] [
       -z recsz ] filename...

>From gnu:
NAME
       sort - sort lines of text files

SYNOPSIS
       sort  [-cmus]  [-t  separator] [-o output-file] [-bdfiMnr]
       [+POS1 [-POS2]] [-k POS1[,POS2]] [file...]

This is a problem because I'm running indxbib and it returns:
cognized option `-T'
Usage: sort [-cmus] [-t separator] [-o output-file] [-bdfiMnr] [+POS1 [-POS2]]
       [-k POS1[,POS2]] [file...]

(I got around this by putting /usr/bin in front of my path)

What does posix say?

--
marty
leisner.henr801c@xerox.com  leisner@eso.mc.xerox.com
Member of the League for Programming Freedom
Technical Details
Message-ID: <1992Nov20.151359.22899@spectrum.xerox.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!wrc.xerox.COM!leisner

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!wrc.xerox.COM!leisner
From: leisner@wrc.xerox.COM ( Marty Leisner)
Subject: Difference in sort
Message-ID: <1992Nov20.151359.22899@spectrum.xerox.com>
Sender: gnulists@ai.mit.edu
Reply-To: leisner@eso.mc.xerox.com
Organization: Xerox
Distribution: gnu
Date: Fri, 20 Nov 1992 15:13:59 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 42