diff options
Diffstat (limited to 'usr/src/man/man1/wc.1')
-rw-r--r-- | usr/src/man/man1/wc.1 | 52 |
1 files changed, 14 insertions, 38 deletions
diff --git a/usr/src/man/man1/wc.1 b/usr/src/man/man1/wc.1 index 0af015bb29..7411cacfa1 100644 --- a/usr/src/man/man1/wc.1 +++ b/usr/src/man/man1/wc.1 @@ -3,14 +3,14 @@ .\" Copyright 1989 AT&T .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures .\" Portions Copyright (c) 1992, X/Open Company Limited 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 wc 1 "13 Mar 2008" "SunOS 5.11" "User Commands" +.TH WC 1 "Mar 13, 2008" .SH NAME wc \- display a count of lines, words and characters in a file .SH SYNOPSIS @@ -71,7 +71,6 @@ standard input and no filename is written to standard output. The start of the file is defined as the current offset. .sp .ne 2 -.mk .na \fB\fB-c\fR\fR .ad @@ -86,7 +85,6 @@ List the byte counts. .sp .ne 2 -.mk .na \fB\fB-l\fR\fR .ad @@ -101,7 +99,6 @@ List the line counts. .sp .ne 2 -.mk .na \fB\fB-L\fR\fR .ad @@ -116,7 +113,6 @@ List the longest line length. .sp .ne 2 -.mk .na \fB\fB-m | C\fR\fR .ad @@ -131,7 +127,6 @@ List the character counts. .sp .ne 2 -.mk .na \fB\fB-q\fR\fR .ad @@ -146,7 +141,6 @@ Suppress invalid multi-byte character warnings. .sp .ne 2 -.mk .na \fB\fB-w\fR\fR .ad @@ -165,56 +159,46 @@ List the word counts. The following options are supported: .sp .ne 2 -.mk .na \fB\fB-c\fR\fR .ad .RS 6n -.rt Counts bytes. .RE .sp .ne 2 -.mk .na \fB\fB-C\fR\fR .ad .RS 6n -.rt Same as \fB-m\fR. .RE .sp .ne 2 -.mk .na \fB\fB-l\fR\fR .ad .RS 6n -.rt Counts lines. .RE .sp .ne 2 -.mk .na \fB\fB-m\fR\fR .ad .RS 6n -.rt Counts characters. .RE .sp .ne 2 -.mk .na \fB\fB-w\fR\fR .ad .RS 6n -.rt Counts words delimited by white space characters or new line characters. Delimiting characters are Extended Unix Code (\fBEUC\fR) characters from any code set defined by \fBiswspace()\fR. @@ -230,12 +214,10 @@ bytes.) The following operand is supported: .sp .ne 2 -.mk .na \fB\fIfile\fR\fR .ad .RS 8n -.rt A path name of an input file. If no \fIfile\fR operands are specified, the standard input is used. .RE @@ -254,23 +236,19 @@ that affect the execution of \fBwc\fR: \fBLANG\fR, \fBLC_ALL\fR, .SH EXIT STATUS .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 @@ -283,17 +261,16 @@ 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 StabilityCommitted +Interface Stability Committed _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SS "ksh93" @@ -301,13 +278,12 @@ StandardSee \fBstandards\fR(5). .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 _ -Interface StabilitySee below. +Interface Stability See below. .TE .sp |