Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>

*** 11,21 **** .nf \fB/usr/ucb/file\fR [\fB-f\fR \fIffile\fR] [\fB-cL\fR] [\fB-m\fR \fImfile\fR] \fIfilename\fR... .fi .SH DESCRIPTION - .sp .LP \fBfile\fR performs a series of tests on each \fIfilename\fR in an attempt to determine what it contains. If the contents of a file appear to be \fBASCII\fR text, \fBfile\fR examines the first 512 bytes and tries to guess its language. .sp --- 11,20 ----
*** 22,32 **** .LP \fBfile\fR uses the file \fB/etc/magic\fR to identify files that have some sort of \fImagic number\fR, that is, any file containing a numeric or string constant that indicates its type. .SH OPTIONS - .sp .ne 2 .na \fB\fB-c\fR\fR .ad .RS 12n --- 21,30 ----
*** 91,101 **** counts: ascii text doc: roff,nroff, or eqn input text empty.file: empty libz: archive random library memos: directory ! project: symboliclink to /usr/project script: executable shell script titles: ascii text s5.stuff: cpio archive --- 89,99 ---- counts: ascii text doc: roff,nroff, or eqn input text empty.file: empty libz: archive random library memos: directory ! project: symbolic link to /usr/project script: executable shell script titles: ascii text s5.stuff: cpio archive
*** 103,113 **** .fi .in -2 .sp .SH ENVIRONMENT VARIABLES - .sp .LP The environment variables \fBLC_CTYPE\fR, \fBLANG\fR, and \fBLC_default\fR control the character classification throughout \fBfile\fR. On entry to \fBfile\fR, these environment variables are checked in the following order: \fBLC_CTYPE\fR, \fBLANG\fR, and \fBLC_default\fR. When a valid value is found, --- 101,110 ----
*** 115,133 **** example, a new setting for \fBLANG\fR does not override the current valid character classification rules of \fBLC_CTYPE\fR. When none of the values is valid, the shell character classification defaults to the POSIX.1 "C" locale. .SH FILES - .sp .LP \fB/etc/magic\fR .SH SEE ALSO - .sp .LP \fBmagic\fR(4), \fBattributes\fR(5) .SH BUGS - .sp .LP \fBfile\fR often makes mistakes. In particular, it often suggests that command files are C programs. .sp .LP --- 112,127 ----