diff options
Diffstat (limited to 'usr/src/man/man1/file.1')
-rw-r--r-- | usr/src/man/man1/file.1 | 43 |
1 files changed, 8 insertions, 35 deletions
diff --git a/usr/src/man/man1/file.1 b/usr/src/man/man1/file.1 index 6e445f1bf7..870fc05fe6 100644 --- a/usr/src/man/man1/file.1 +++ b/usr/src/man/man1/file.1 @@ -1,13 +1,13 @@ '\" te .\" Copyright 1989 AT&T Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved -.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at +.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at .\" http://www.opengroup.org/bookstore/. .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html. .\" This notice shall appear on any product containing this material. .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH file 1 "15 May 2006" "SunOS 5.11" "User Commands" +.TH FILE 1 "May 15, 2006" .SH NAME file \- determine file type .SH SYNOPSIS @@ -105,47 +105,39 @@ be determined. The following options are supported: .sp .ne 2 -.mk .na \fB\fB-c\fR\fR .ad .RS 12n -.rt Checks the magic file for format errors. For reasons of efficiency, this validation is normally not carried out. .RE .sp .ne 2 -.mk .na \fB\fB-d\fR\fR .ad .RS 12n -.rt Applies any position-sensitive and context-sensitive default system tests to the file. .RE .sp .ne 2 -.mk .na \fB\fB-f\fR \fIffile\fR\fR .ad .RS 12n -.rt \fIffile\fR contains a list of the files to be examined. .RE .sp .ne 2 -.mk .na \fB\fB-h\fR\fR .ad .RS 12n -.rt When a symbolic link is encountered, this option identifies the file as a symbolic link. If \fB-h\fR is not specified and \fIfile\fR is a symbolic link that refers to a non-existent file, the \fBfile\fR utility identifies the file @@ -154,43 +146,35 @@ as a symbolic link, as if \fB-h\fR had been specified. .sp .ne 2 -.mk .na \fB\fB-i\fR\fR .ad .RS 12n -.rt If a file is a regular file, this option does not attempt to classify the type of file further, but identifies the file as a "regular file". .RE .sp .ne 2 -.mk .na \fB\fB-m\fR \fImfile\fR\fR .ad .RS 12n -.rt .sp .ne 2 -.mk .na \fB\fB/usr/bin/file\fR\fR .ad .RS 22n -.rt Uses \fImfile\fR as an alternate magic file, instead of \fB/etc/magic\fR. .RE .sp .ne 2 -.mk .na \fB\fB/usr/xpg4/bin/file\fR\fR .ad .RS 22n -.rt Specifies the name of a file containing position-sensitive tests that are applied to a file in order to classify it (see \fBmagic\fR(4)). If the \fB-m\fR option is specified without specifying the \fB-d\fR option or the \fB-M\fR @@ -202,12 +186,10 @@ position-sensitive tests specified by the \fB-m\fR option. .sp .ne 2 -.mk .na \fB\fB-M\fR \fIMfile\fR\fR .ad .RS 12n -.rt Specifies the name of a file containing position-sensitive tests that are applied to a file in order to classify it (see \fBmagic\fR(4)). No position-sensitive default system tests nor context-sensitive default system @@ -226,12 +208,10 @@ options is applied in the order specified by the appearance of these options. The following operands are supported: .sp .ne 2 -.mk .na \fB\fIfile\fR\fR .ad .RS 8n -.rt A path name of a file to be tested. .RE @@ -268,35 +248,29 @@ that affect the execution of \fBfile\fR: \fBLANG\fR, \fBLC_ALL\fR, The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fB>0\fR\fR .ad .RS 6n -.rt An error occurred. .RE .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/magic\fR\fR .ad .RS 14n -.rt \fBfile\fR's magic number file .RE @@ -308,15 +282,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityStandard +Interface Stability Standard .TE .SH SEE ALSO |