Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2004 09:41:05 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Specifying sort fields
Message-ID:  <87pt9yhi4e.fsf@strauser.com>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGCEKIFMAA.Barbish3@adelphia.net> (Barbish3@adelphia.net's message of "Fri, 23 Apr 2004 09:00:17 -0400")
References:  <MIEPLLIBMLEEABPDBIEGCEKIFMAA.Barbish3@adelphia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable

At 2004-04-23T13:00:17Z, "JJB" <Barbish3@adelphia.net> writes:

> Thank you that worked. You know that nowhere in the 'man sort' info does
> it say that to use sort command you have to use pipe commands to feed it
> data.

It doesn't because you don't.  The syntax is:

    sort [OPTION]... [FILE]...

which means that you may optionally specify the name of the file to process.
For what it's worth, the wide majority of Unix commands accept input from
pipes and can write output to pipes.
=2D-=20
Kirk Strauser

"94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box."

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBAiSsB5sRg+Y0CpvERAsALAJ9LiisTQsSGY4ljw//rKeh6jUgdtwCglQLF
upDayg1RU2QFc4RmVH0UnLo=
=6M1I
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87pt9yhi4e.fsf>