1
0
mirror of https://github.com/DoctorWkt/pdp7-unix.git synced 2026-04-15 16:19:44 +00:00

I've brought in and modified a roff so that it should be translatable into B.

I've started work on writing the man pages in this version of roff.
This commit is contained in:
Warren Toomey
2016-03-28 12:18:10 +10:00
parent 9b675f2c52
commit dfb61a274f
4 changed files with 1214 additions and 77 deletions

View File

@@ -1,28 +1,35 @@
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
.oh '11/3/70''CAT(I)'
.ta 18 21
NAME cat -- concatenate and print
.sp
SYNOPSIS
.ul
cat
file1 ...
.sp
DESCRIPTION
.ul
cat
reads each file in sequence and writes it on
the standard output stream. Thus:
.sp
.ul
cat file
.sp
is about the easiest way to print a file. Also:
.sp
.ul
cat filel file2 >file3
.sp
is about the easiest way to concatenate files.
.sp
FILES --
.sp
SEE ALSO pr, cp
.sp
DIAGNOSTICS If a file cannot be found it is ignored. If no
files are given, "no files" is output.
.sp
BUGS --
.sp
OWNER ken, dmr

View File

@@ -1,28 +1,31 @@
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
.oh '11/3/70''CHMOD(I)'
.ta 18 21
NAME chmod -- change mode
.sp
SYNOPSIS
.ul
chmod
octal file1 file2 file3 ...
.sp
DESCRIPTION The octal mode replaces the mode of each of the
files. The mode is constructed from the OR of
the following modes:
.sp
01 write for non--owner
02 read for non--owner
04 write for owner
10 read for owner
20 executable
40 set--UID
.sp
Only the owner of a file may change its mode.
.sp
FILES --
.sp
SEE ALSO stat, ls
.sp
DIAGNOSTICS --
.sp
BUGS --
.sp
OWNER ken, dmr

View File

@@ -1,21 +1,27 @@
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
.oh '11/3/70''CHOWN(I)'
.ta 18 21
NAME chown -- change owner
.sp
SYNOPSIS
.ul
chown
owner file
.sp
DESCRIPTION
.ul
owner
becomes the new owner of the files. The
owner is an octal UID.
.sp
Only the owner of a file is allowed to change
the owner.
.sp
FILES --
.sp
SEE ALSO stat
.sp
DIAGNOSTICS ?
.sp
BUGS --
.sp
OWNER ken, dmr

1121
tools/roff.c Normal file

File diff suppressed because it is too large Load Diff