A few more man pages converted to roff format.
This commit is contained in:
@@ -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
|
||||||
|
.sp
|
||||||
|
SYNOPSIS ls [ -l ] directory
|
||||||
|
.sp
|
||||||
|
DESCRIPTION
|
||||||
|
.ul
|
||||||
|
ls
|
||||||
|
lists the contents of the named directory
|
||||||
|
under control of one option:
|
||||||
|
.sp
|
||||||
|
l list in long format, giving i-number,
|
||||||
|
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
|
||||||
|
.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
|
||||||
|
|
||||||
|
.ul
|
||||||
|
ls
|
||||||
|
will try to open up a directory named "." if
|
||||||
|
no directory is named. If the user desires this
|
||||||
|
functionality, they need to link "." to the
|
||||||
|
directory in question.
|
||||||
|
|
||||||
|
.sp
|
||||||
NAME ls -- list contents of directory
|
OWNER wkt
|
||||||
|
|
||||||
SYNOPSIS ls [ -l ]
|
|
||||||
|
|
||||||
DESCRIPTION ls lists the contents of the current directory under
|
|
||||||
control of one option:
|
|
||||||
|
|
||||||
l list in long format, giving i-number, mode, owner,
|
|
||||||
size in words, and name of each file. (see stat
|
|
||||||
for format of the mode). Numeric values are in octal.
|
|
||||||
|
|
||||||
FILES
|
|
||||||
|
|
||||||
SEE ALSO stat
|
|
||||||
|
|
||||||
DIAGNOSTICS No diagnostics
|
|
||||||
|
|
||||||
BUGS In a simulated environment, a filename larger than eight
|
|
||||||
characters will cause ls to exit prematurely.
|
|
||||||
|
|
||||||
OWNER wkt
|
|
||||||
|
|||||||
@@ -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
|
||||||
+20
-17
@@ -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,25 +23,25 @@ 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
|
||||||
2 r: owner can read
|
2 r: owner can read
|
||||||
-: owner cannot read
|
-: owner cannot read
|
||||||
.sp
|
.sp
|
||||||
3 w: owner can write
|
3 w: owner can write
|
||||||
-: owner cannot write
|
-: owner cannot write
|
||||||
.sp
|
.sp
|
||||||
4 r: non-owner can read
|
4 r: non-owner can read
|
||||||
-: non-owner cannot read
|
-: non-owner cannot read
|
||||||
.sp
|
.sp
|
||||||
5 w: non-owner can write
|
5 w: non-owner can write
|
||||||
-: non-owner cannot write
|
-: non-owner cannot write
|
||||||
.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
|
||||||
|
|||||||
Reference in New Issue
Block a user