🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Marty Leisner Fri, 20 Nov 1992 15:13
Difference in sort
#1127
Author: 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
Re: Difference in sort
#1135
Author: Joachim Schrod
Date: Sun, 22 Nov 1992 14:33
28 lines
1573 bytes
In article <1992Nov20.151359.22899@spectrum.xerox.com>, leisner@wrc.xerox.COM ( Marty Leisner) writes:
> 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...
> 
> [...]
>
> What does posix say?

Sorry, not to answer your question directly, but --

An inofficial version of the POSIX Draft is available by anonymous ftp
from research.att.com, directory /netlib/posix. Currently, it holds
drafts of POSIX.0, POSIX.2, POSIX.2a, and POSIX.2b. (Ie, POSIX.1, the
API, is not there.)
    European folks may want to fetch this files from
ftp.th-darmstadt.de [130.83.55.75], directory pub/docs/posix. It's
mirrored automatically, so it will be up-to-date.

--
Joachim

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joachim Schrod			Email: schrod@iti.informatik.th-darmstadt.de
Computer Science Department
Technical University of Darmstadt, Germany
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads