Man page cleanup.
[rsc] --rw-rw-r-- M 84741 glenda sys 1069 Dec 11 14:50 sys/man/1/cmp
/n/sourcesdump/2005/1211/plan9/sys/man/1/cmp:4,10 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/cmp:4,10
.SH SYNOPSIS
.B cmp
[
- .B -lsL
+ .B -lLs
]
.I file1 file2
[
/n/sourcesdump/2005/1211/plan9/sys/man/1/cmp:14,36 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/cmp:14,36
]
]
.SH DESCRIPTION
- The two files are
- compared.
- A diagnostic results if the contents differ, otherwise
- there is no output.
+ .I Cmp
+ compares the two files and prints
+ a message if the contents differ.
.PP
The options are:
.TP
- .B l
+ .B -l
Print the byte number (decimal) and the
differing bytes (hexadecimal) for each difference.
.TP
- .B s
+ .B -L
+ Print the line number of the first differing byte.
+ .TP
+ .B -s
Print nothing for differing files,
but set the exit status.
- .TP
- .B L
- Print the line number of the first differing byte.
+ .PD
.PP
If offsets are given,
comparison starts at the designated byte position
/n/sourcesdump/2005/1211/plan9/sys/man/1/cmp:43,49 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/cmp:43,49
octal; with anything else, decimal.
.SH SOURCE
.B /sys/src/cmd/cmp.c
- .SH "SEE ALSO"
+ .SH SEE ALSO
.IR diff (1)
.SH DIAGNOSTICS
If a file is inaccessible or missing, the exit status is
[rsc] --rw-rw-r-- M 84741 glenda sys 1294 Dec 11 14:44 sys/man/1/calendar
/n/sourcesdump/2005/1211/plan9/sys/man/1/calendar:4,13 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/calendar:4,14
.SH SYNOPSIS
.B calendar
[
- .B \-y
+ .B -dy
]
[
- .B \-p days
+ .B -p
+ .I days
]
[
.I file ...
/n/sourcesdump/2005/1211/plan9/sys/man/1/calendar:32,38 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/calendar:33,39
All comparisons are case insensitive.
.PP
If the
- .B \-y
+ .B -y
flag is given, an attempt is made to match on year too. In this case,
dates of the forms listed above will be accepted if they are followed
by the current year (or last two digits thereof) or not a year —
/n/sourcesdump/2005/1211/plan9/sys/man/1/calendar:39,48 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/calendar:40,53
digits not followed by white space or non-digits.
.PP
If the
- .B \-p
+ .B -p
flag is given, its argument is the number of days ahead to match
dates. This flag is not repeatable, and it performs no special
processing at the end of the week.
+ .PP
+ The
+ .B -d
+ flag enables debugging output.
.PP
On Friday and Saturday, events through Monday are printed.
.PP
[rsc] --rw-rw-r-- M 84741 presotto sys 785 Dec 11 14:48 sys/man/1/cb
/n/sourcesdump/2005/1211/plan9/sys/man/1/cb:1,31 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/cb:1,46
.TH CB 1
.SH NAME
- .I cb
- \- C program beautifier
+ cb \- C program beautifier
.SH SYNOPSIS
- \fBcb\fR [\fB-s\fR] [\fB-j\fR] [\fB-l\fR \fIlength\fR] [\fIfile\fR ...]
+ .B cb
+ [
+ .B -js
+ ]
+ [
+ .B -l
+ .I length
+ ]
+ [
+ .I file
+ \&...
+ ]
.SH DESCRIPTION
- \fBCb\fR reads syntactically correct C programs from
+ .I Cb
+ reads syntactically correct C programs from
from its input or the given files, and writes them to its stdout
- with a more visualy pleasing spacing and indentation. \fBCb\fR
+ with a more visualy pleasing spacing and indentation.
+ .I Cb
understands no C++ syntax bar newline terminated comments;
and by default all user new-lines are preserved in the output.
.PP
- \fBCb\fR accepts the following options.
- .TP
- .B -s
- Write the code in the style of Kernighan and
- Ritchie found in The C Programming Language.
+ The options are:
.TP
.B -j
- Put split lines back together.
+ Join split lines.
.TP
+ .B -s
+ Print code in the so-called K&R style used in
+ .IR "The C Programming Language" .
+ .TP
.B -l length
- Split lines that are longer than \fIlength\fR.
+ Split lines that are longer than
+ .IR length .
+ .PD
.SH SOURCE
.B /sys/src/cmd/cb
- .SH NOTES
- The format of structure initializations is unchanged by \fBcb\fR.
+ .SH BUGS
+ .I Cb
+ does not reformat structure initializers.
.br
- Punctuation that is hidden in preprocessing directives
- causes indentation errors.
+ Punctuation hidden in macros can cause
+ indentation errors.
[rsc] --rw-rw-r-- M 84741 glenda sys 1438 Dec 11 14:50 sys/man/1/colors
/n/sourcesdump/2005/1211/plan9/sys/man/1/colors:5,12 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/colors:5,11
.PP
.B colors
[
- .B -r
- .B -x
+ .B -rx
]
.PP
.B getmap
[rsc] --rw-rw-r-- M 84741 glenda sys 4306 Dec 11 14:52 sys/man/1/con
/n/sourcesdump/2005/1211/plan9/sys/man/1/con:4,10 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/con:4,10
.SH SYNOPSIS
.B con
[
- .B -CdnrRvsT
+ .B -CdnrRsTv
]
[
.B -b
/n/sourcesdump/2005/1211/plan9/sys/man/1/con:13,19 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/con:13,19
[
.B -l
[
- .I remuser
+ .I user
]
]
[
/n/sourcesdump/2005/1211/plan9/sys/man/1/con:37,43 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/con:37,43
]
[
.B -l
- .I remuser
+ .I user
]
.RI [ net !] machine
[
/n/sourcesdump/2005/1211/plan9/sys/man/1/con:73,79 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/con:73,79
.TP
.B -l
with an argument causes
- .I remuser
+ .I user
to be used as the account name on the remote system.
Without an argument this option disables automatic login
and a normal login session ensues.
/n/sourcesdump/2005/1211/plan9/sys/man/1/con:178,184 -
/n/sourcesdump/2005/1212/plan9/sys/man/1/con:178,184
.TP
.B \-l
allows
- .I remuser
+ .I user
to be used on the remote machine if the remote
is a BSD machine.
.TP
[rsc] --rw-rw-r-- M 84741 glenda sys 2379 Dec 11 14:48 sys/src/cmd/cmp.c
/n/sourcesdump/2005/1211/plan9/sys/src/cmd/cmp.c:119,124 -
/n/sourcesdump/2005/1212/plan9/sys/src/cmd/cmp.c:119,124
static void
usage(void)
{
- print("Usage: cmp [-lsL] file1 file2 [offset1 [offset2] ]\n");
+ print("usage: cmp [-lLs] file1 file2 [offset1 [offset2] ]\n");
exits("usage");
}
|