Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Warren Toomey
committed
Mar 2, 2016
1 parent
152fc23
commit 14a2a9b
Showing
6 changed files
with
130 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |