Re: PATCH for a more-POSIX `ps', and related adventures
From: Cyrille Lefevre (cyrille.lefevre_at_laposte.net)
Date: 03/27/04
- Previous message: Alexey Dokuchaev: "Re: posix ps (was Re: Adding `pgrep' and `pkill' to /usr/bin)"
- In reply to: Alexey Dokuchaev: "Re: PATCH for a more-POSIX `ps', and related adventures"
- Next in thread: Cyrille Lefevre: "Re: PATCH for a more-POSIX `ps', and related adventures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "Alexey Dokuchaev" <danfe@nsu.ru>, "Dag-Erling Sm?rgrav" <des@des.no> Date: Sat, 27 Mar 2004 14:31:18 +0100
"Alexey Dokuchaev" <danfe@nsu.ru> wrote:
> On Fri, Mar 26, 2004 at 09:43:21AM +0100, Dag-Erling Sm?rgrav wrote:
> > Albert Cahalan <albert@users.sf.net> writes:
> > > On Thu, 2004-03-25 at 14:17, Jilles Tjoelker wrote:
> > > > I think that has been a historical mistake in the POSIX standardization.
> > > > tar/cpio were not standardized, instead a new utility "pax" was
> > > > invented. This should have been done with ps too [...]
> > > I would agree, except that nobody uses pax. :-)
> >
> > NetBSD and OpenBSD use pax exclusively; their tar and cpio are
> > symlinks to /bin/pax.
>
> How do they handle tar/cpio-specific arguments than? By bloating pax(1)
> with quite some piece of code? This seems odd.
the code is already there. let's try :
$ ln -s /tmp/tar /bin/pax
$ ln -s /tmp/cpio /bin/pax
$ /tmp/tar -?
usage: pax [-]{crtux}[-befhjmopqsvwyzHLOPXZ014578] [blocksize] [archive]
[replstr] [-C directory] [-I file] [file ...]
$ /tmp/tar -?
usage: pax -o [-aABcLvVzZ] [-C bytes] [-H format] [-O archive]
[-F archive] < name-list [> archive]
usage: pax -i [-bBcdfmnrsStuvVzZ6] [-C bytes] [-E file] [-H format]
[-I archive] [-F archive] [pattern...] [< archive]
usage: pax -p [-adlLmuvV] destination-directory < name-list
see also PR#38256 (http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/38256)
Cyrille Lefevre.
-- home: mailto:cyrille.lefevre@laposte.net _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Alexey Dokuchaev: "Re: posix ps (was Re: Adding `pgrep' and `pkill' to /usr/bin)"
- In reply to: Alexey Dokuchaev: "Re: PATCH for a more-POSIX `ps', and related adventures"
- Next in thread: Cyrille Lefevre: "Re: PATCH for a more-POSIX `ps', and related adventures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]