[hackers] [9base] updated some man pages that I could find || anselm

From: <hg_AT_suckless.org>
Date: Tue, 27 Apr 2010 07:50:09 +0000 (UTC)

changeset: 64:19853c8af308
tag: tip
user: anselm_AT_garbe.us
date: Tue Apr 27 08:50:05 2010 +0100
files: fortune/fortune.1 freq/freq.1 mkdir/mkdir.1
description:
updated some man pages that I could find

diff -r 428b2b49ddb4 -r 19853c8af308 fortune/fortune.1
--- a/fortune/fortune.1 Sun Apr 25 12:10:19 2010 +0100
+++ b/fortune/fortune.1 Tue Apr 27 08:50:05 2010 +0100
@@ -0,0 +1,23 @@
+.TH FORTUNE 1
+.SH NAME
+fortune \- sample lines from a file
+.SH SYNOPSIS
+.B fortune
+[
+.I file
+]
+.SH DESCRIPTION
+.I Fortune
+prints a one-line aphorism chosen at random.
+If a
+.I file
+is specified, the saying is taken from that file;
+otherwise it is selected from
+.BR \*9/lib/fortunes .
+.SH FILES
+.B \*9/lib/fortunes
+.br
+.B \*9/lib/fortunes.index
+\ \ fast lookup table, maintained automatically
+.SH SOURCE
+.B \*9/src/cmd/fortune.c
diff -r 428b2b49ddb4 -r 19853c8af308 freq/freq.1
--- a/freq/freq.1 Sun Apr 25 12:10:19 2010 +0100
+++ b/freq/freq.1 Tue Apr 27 08:50:05 2010 +0100
@@ -0,0 +1,40 @@
+.TH FREQ 1
+.SH NAME
+freq \- print histogram of character frequencies
+.SH SYNOPSIS
+.B freq
+[
+.B -dxocr
+]
+[
+.I file ...
+]
+.SH DESCRIPTION
+.I Freq
+reads the given files (default standard input)
+and prints histograms of the character frequencies.
+By default,
+.I freq
+counts each byte as a character;
+under the
+.B -r
+option it instead counts
+.SM UTF
+sequences, that is, runes.
+.PP
+Each non-zero entry of the table is printed preceded by the byte value,
+in decimal, octal, hex, and
+Unicode
+character (if printable).
+If any options are given, the
+.BR -d ,
+.BR -x ,
+.BR -o ,
+.B -c
+flags specify a subset of value formats: decimal, hex, octal, and
+character, respectively.
+.SH SOURCE
+.B \*9/src/cmd/freq.c
+.SH SEE ALSO
+.IR utf (7),
+.IR wc (1)
diff -r 428b2b49ddb4 -r 19853c8af308 mkdir/mkdir.1
--- a/mkdir/mkdir.1 Sun Apr 25 12:10:19 2010 +0100
+++ b/mkdir/mkdir.1 Tue Apr 27 08:50:05 2010 +0100
@@ -0,0 +1,43 @@
+.TH MKDIR 1
+.SH NAME
+mkdir \- make a directory
+.SH SYNOPSIS
+.B mkdir
+[
+.B -p
+] [
+.B -m
+. I mode
+]
+.I dirname ...
+.SH DESCRIPTION
+.I Mkdir
+creates the specified directories.
+It
+requires write permission in the parent directory.
+.PP
+If the
+.B -p
+flag is given,
+.I mkdir
+creates any necessary parent directories
+and does not complain if the target directory already exists.
+.PP
+The
+.B -m
+flag sets the permissions to be used when creating the directory.
+The default is 0777.
+.SH "SEE ALSO"
+.IR rm (1)
+.br
+.IR cd
+in
+.IR rc (1)
+.SH SOURCE
+.B \*9/src/cmd/mkdir.c
+.SH DIAGNOSTICS
+.I Mkdir
+returns null exit status if all directories were successfully made.
+Otherwise it prints a diagnostic and returns
+.B \&"error"
+status.
Received on Tue Apr 27 2010 - 07:50:09 UTC

This archive was generated by hypermail 2.2.0 : Tue Apr 27 2010 - 08:00:08 UTC