Print this page
4023 - Typo in file(1) manpage and various others

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/file.1
          +++ new/usr/src/man/man1/file.1
   1    1  '\" te
   2    2  .\" Copyright 1989 AT&T Copyright (c) 1992, X/Open Company Limited All Rights Reserved Portions Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved
   3    3  .\" 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
   4    4  .\" http://www.opengroup.org/bookstore/.
   5    5  .\" 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.
   6    6  .\"  This notice shall appear on any product containing this material.
   7    7  .\" 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.
   8    8  .\" 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.
   9    9  .\" 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]
  10      -.TH FILE 1 "May 15, 2006"
       10 +.TH FILE 1 "Sep 10, 2013"
  11   11  .SH NAME
  12   12  file \- determine file type
  13   13  .SH SYNOPSIS
  14   14  .LP
  15   15  .nf
  16   16  \fB/usr/bin/file\fR [\fB-dh\fR] [\fB-m\fR \fImfile\fR] [\fB-M\fR \fIMfile\fR] [\fB-f\fR \fIffile\fR] \fIfile\fR...
  17   17  .fi
  18   18  
  19   19  .LP
  20   20  .nf
↓ open down ↓ 203 lines elided ↑ open up ↑
 224  224  .LP
 225  225  \fBExample 1 \fRDetermining if an Argument is a Binary Executable Files
 226  226  .sp
 227  227  .LP
 228  228  The following example determine if an argument is a binary executable file:
 229  229  
 230  230  .sp
 231  231  .in +2
 232  232  .nf
 233  233  file "$1" | grep \(miFq executable &&
 234      -          printf "%s is executable.\n" "$1"
      234 +          printf "%s is executable.\en" "$1"
 235  235  .fi
 236  236  .in -2
 237  237  .sp
 238  238  
 239  239  .SH ENVIRONMENT VARIABLES
 240  240  .sp
 241  241  .LP
 242  242  See \fBenviron\fR(5) for descriptions of the following environment variables
 243  243  that affect the execution of \fBfile\fR: \fBLANG\fR, \fBLC_ALL\fR,
 244  244  \fBLC_CTYPE\fR, \fBLC_MESSAGES\fR, and \fBNLSPATH\fR.
↓ open down ↓ 55 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX