From owner-freebsd-standards@FreeBSD.ORG Sat Mar 27 05:37:59 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0F2616A4CE; Sat, 27 Mar 2004 05:37:59 -0800 (PST) Received: from huva.hittite.isp.9tel.net (huva.hittite.isp.9tel.net [62.62.156.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A94E43D2F; Sat, 27 Mar 2004 05:37:59 -0800 (PST) (envelope-from cyrille.lefevre@laposte.net) Received: from pc2k (unknown [81.185.204.209]) by huva.hittite.isp.9tel.net (Postfix) with SMTP id 773329BC7F; Sat, 27 Mar 2004 14:38:43 +0100 (CET) Message-ID: <1cd201c41400$b6e960c0$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "Alexey Dokuchaev" , "Dag-Erling Sm?rgrav" References: <1080165171.2232.910.camel@cube> <20040325191745.GB71731@stack.nl><1080247208.2232.1095.camel@cube> <20040326143411.GA1508@regency.nsu.ru> Date: Sat, 27 Mar 2004 14:31:18 +0100 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: drosih@rpi.edu cc: freebsd-arch@freebsd.org cc: freebsd-standards@freebsd.org cc: Jilles Tjoelker cc: Albert Cahalan Subject: Re: PATCH for a more-POSIX `ps', and related adventures X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 13:38:00 -0000 "Alexey Dokuchaev" wrote: > On Fri, Mar 26, 2004 at 09:43:21AM +0100, Dag-Erling Sm?rgrav wrote: > > Albert Cahalan 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