Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2006 12:20:37 +0100
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        Baris Simsek <simsek@enderunix.org>
Cc:        freebsd-standards@freebsd.org
Subject:   Re: file utility POSIX complience
Message-ID:  <20061101112037.GA1087@schweikhardt.net>
In-Reply-To: <454863A4.2080106@enderunix.org>
References:  <454863A4.2080106@enderunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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)



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