From owner-freebsd-standards@FreeBSD.ORG Wed Nov 1 11:20:51 2006 Return-Path: X-Original-To: freebsd-standards@freebsd.org 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 DE81B16A403 for ; Wed, 1 Nov 2006 11:20:51 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs1.shuttle.de (rs1.shuttle.de [194.95.249.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF61543D75 for ; Wed, 1 Nov 2006 11:20:49 +0000 (GMT) (envelope-from schweikh@schweikhardt.net) Received: by rs1.shuttle.de (Postfix, from userid 10) id 458A521068; Wed, 1 Nov 2006 12:20:48 +0100 (CET) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.13.7/8.13.7) with ESMTP id kA1BKb4s006593; Wed, 1 Nov 2006 12:20:37 +0100 (CET) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.13.7/8.13.7/Submit) id kA1BKb7M006592; Wed, 1 Nov 2006 12:20:37 +0100 (CET) (envelope-from schweikh) Date: Wed, 1 Nov 2006 12:20:37 +0100 From: Jens Schweikhardt To: Baris Simsek Message-ID: <20061101112037.GA1087@schweikhardt.net> References: <454863A4.2080106@enderunix.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <454863A4.2080106@enderunix.org> User-Agent: Mutt/1.5.12-2006-07-14 Cc: freebsd-standards@freebsd.org Subject: Re: file utility POSIX complience X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 11:20:52 -0000 On Wed, Nov 01, 2006 at 11:06:44AM +0200, Baris Simsek wrote: # Hi, # # I was looking for the non-POSIX FreeBSD utilities from here: # # http://people.freebsd.org/~schweikh/posix-utilities.html#file # # He talks about -d -h and -M options currently not available. # # And i did a quick source to find original related document of POSIX. I # met following PDFs may be interesting: # # http://www.opengroup.org/rtforum/uploads/40/7319/POSIX_and_Linux_Application_Compatibility_v0.92_released_22_April_05.pdf # # 9th page and 6th item says that: # The Linux file utility is not required to support the ?M, ?h, ?d, and # the ?i options. The portable application shall not use these options. # # Is there a contradiction between them? No. The file utility POSIX spec is available here: http://www.opengroup.org/onlinepubs/009695399/utilities/file.html As you see, the -d/h/m/M options are marked UP (part of User Portability extension). Our -i option does something different from POSIX. # I wonder that what jobs these options should perform? See the Open Group's POSIX spec above. # And is there any # developer currently working on it? Not that I know of. Volunteers welcome. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)