I've updated the top-level Makefile to build all the existing utilities.
I've borrowed the V1 manuals from http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/man/man1 and changed them to reflect the PDP-7 utilities.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
11/3/70 CAT (I)
|
||||
|
||||
|
||||
NAME cat -- concatenate and print
|
||||
|
||||
SYNOPSIS cat file1 ...
|
||||
|
||||
DESCRIPTION cat reads each file in sequence and writes it on the
|
||||
standard output stream. Thus:
|
||||
|
||||
cat file
|
||||
|
||||
is about the easiest way to print a file. Also:
|
||||
|
||||
cat filel file2 >file3
|
||||
|
||||
is about the easiest way to concatenate files.
|
||||
|
||||
FILES
|
||||
|
||||
SEE ALSO pr, cp
|
||||
|
||||
DIAGNOSTICS If a file cannot be found it is ignored. If no files are
|
||||
given, "no files" is output.
|
||||
|
||||
BUGS
|
||||
|
||||
OWNER ken, dmr
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
11/3/70 CHMOD (I)
|
||||
|
||||
|
||||
NAME chmod -- change mode
|
||||
|
||||
SYNOPSIS chmod octal file1 file2 file3 ...
|
||||
|
||||
DESCRIPTION The octal mode replaces the mode of each of the files. The
|
||||
mode is constructed from the OR of the following modes:
|
||||
|
||||
01 write for non--owner
|
||||
02 read for non--owner
|
||||
04 write for owner
|
||||
10 read for owner
|
||||
20 executable
|
||||
40 set--UID
|
||||
|
||||
Only the owner of a file may change its mode.
|
||||
|
||||
FILES
|
||||
|
||||
SEE ALSO stat, ls
|
||||
|
||||
DIAGNOSTICS
|
||||
|
||||
BUGS
|
||||
|
||||
OWNER ken, dmr
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
11/3/70 CHOWN (I)
|
||||
|
||||
|
||||
NAME chown -- change owner
|
||||
|
||||
SYNOPSIS chown owner file
|
||||
|
||||
DESCRIPTION owner becomes the new owner of the files. The owner is an
|
||||
octal UID.
|
||||
|
||||
Only the owner of a file is allowed to change the owner.
|
||||
|
||||
FILES
|
||||
|
||||
SEE ALSO stat
|
||||
|
||||
DIAGNOSTICS
|
||||
|
||||
BUGS
|
||||
|
||||
OWNER ken, dmr
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
11/3/70 CHRM (I)
|
||||
|
||||
|
||||
NAME chrm -- remove (unlink) files
|
||||
|
||||
SYNOPSIS chrm directory name1 ...
|
||||
|
||||
DESCRIPTION chrm removes the entries for one or more files from the
|
||||
named directory. If an entry was the last link to the file,
|
||||
the file is destroyed. Removal of a file requires write
|
||||
permission in its directory, but neither read nor write
|
||||
permission on the file itself.
|
||||
|
||||
Directories cannot be removed by rm; cf. rmdir.
|
||||
|
||||
FILES none.
|
||||
|
||||
SEE ALSO rmdir, for removing directories.
|
||||
|
||||
DIAGNOSTICS If the file cannot be removed or does not exist, the name
|
||||
of the file followed by a question mark is typed.
|
||||
|
||||
BUGS rm probably should ask whether a read-only file is really
|
||||
to be removed.
|
||||
|
||||
OWNER ken, dmr
|
||||
@@ -0,0 +1,23 @@
|
||||
11/3/70 CP (I)
|
||||
|
||||
|
||||
NAME cp -- copy
|
||||
|
||||
SYNOPSIS cp file11 file12 file21 file22 ...
|
||||
|
||||
DESCRIPTION Files are taken in pairs; the first is opened for reading,
|
||||
the second created mode 17. Then the first is copied into
|
||||
the second.
|
||||
|
||||
FILES
|
||||
|
||||
SEE ALSO cat, pr
|
||||
|
||||
DIAGNOSTICS Error returns are checked at every system call, and
|
||||
appropriate diagnostics are produced.
|
||||
|
||||
BUGS The second file should be created in the mode of the first.
|
||||
|
||||
A directory convention as used in mv should be adopted to cp.
|
||||
|
||||
OWNER ken, dmr
|
||||
Reference in New Issue
Block a user