A few more man pages converted to roff format.

This commit is contained in:
Warren Toomey
2016-03-28 21:56:58 +10:00
parent fed6525853
commit 03b9bcfdc5
3 changed files with 91 additions and 40 deletions
+39 -19
View File
@@ -1,24 +1,44 @@
11/3/70 LS (I) .oh '11/3/70''LS(I)'
.ta 18 21 24
NAME ls -- list contents of directory NAME ls -- list contents of directory
.sp
SYNOPSIS ls [ -l ] SYNOPSIS ls [ -l ] directory
.sp
DESCRIPTION ls lists the contents of the current directory under DESCRIPTION
control of one option: .ul
ls
l list in long format, giving i-number, mode, owner, lists the contents of the named directory
size in words, and name of each file. (see stat under control of one option:
for format of the mode). Numeric values are in octal. .sp
l list in long format, giving i-number,
FILES mode, owner, size in words, and name of
each file. (see
.ul
stat
for format of the
mode). Numeric values are in octal.
.sp
FILES --
.sp
SEE ALSO stat SEE ALSO stat
.sp
DIAGNOSTICS "name ?" if the named directory does not exist
or cannot be opened.
.sp
BUGS In a simulated environment, a filename larger
than eight characters will cause
.ul
ls
to exit
prematurely.
.sp
DIAGNOSTICS No diagnostics .ul
ls
BUGS In a simulated environment, a filename larger than eight will try to open up a directory named "." if
characters will cause ls to exit prematurely. no directory is named. If the user desires this
functionality, they need to link "." to the
directory in question.
.sp
OWNER wkt OWNER wkt
+28
View File
@@ -0,0 +1,28 @@
.oh '11/3/70''OD(I)'
.ta 18 21
NAME od -- octal dump
.sp
SYNOPSIS
.ul
od
file
.sp
DESCRIPTION
.ul
od
dumps the words of the named file in octal
format, eight words per line. Each line is
prefixed by the offset into the file, and this
is separated from the file output by a colon.
.sp
FILES --
.sp
SEE ALSO --
.sp
DIAGNOSTICS If a file cannot be opened, its name is printed
followed by "?". If no argument is given, "no
arg" is output.
.sp
BUGS --
.sp
OWNER wkt
+10 -7
View File
@@ -1,13 +1,16 @@
.oh '11/3/70''STAT(I)' .oh '11/3/70''STAT(I)'
.ta 18 21 .ta 18 21 24
NAME stat - get file status NAME stat -- get file status
.sp .sp
SYNOPSIS SYNOPSIS
.ul .ul
stat stat
name name
.sp .sp
DESCRIPTION stat gives several kinds of information about DESCRIPTION
.ul
stat
gives several kinds of information about
one file: one file:
.sp .sp
access mode access mode
@@ -20,7 +23,7 @@ DESCRIPTION stat gives several kinds of information about
mode. The mode is a five-character string whose mode. The mode is a five-character string whose
characters mean the following: characters mean the following:
.sp .sp
1 s: file is small (smaller than 4096 words) 1 s: file is small (smaller than 448 words)
l: file is large l: file is large
d: file is a directory d: file is a directory
.sp .sp
@@ -38,7 +41,7 @@ DESCRIPTION stat gives several kinds of information about
.sp .sp
All numeric values are printed in octal. All numeric values are printed in octal.
.sp .sp
FILES FILES --
.sp .sp
SEE ALSO SEE ALSO
.ul .ul
@@ -50,8 +53,8 @@ stat,
except that it also shows the i-node except that it also shows the i-node
number for each file. number for each file.
.sp .sp
DIAGNOSTICS "name ?" for any error. DIAGNOSTICS "name ?" for any error. "nofiles" if no file
"nofiles" if no file name is given. name is given.
.sp .sp
BUGS none BUGS none
.sp .sp