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
+35 -28
View File
@@ -1,28 +1,35 @@
11/3/70 CAT (I) .oh '11/3/70''CAT(I)'
.ta 18 21
NAME cat -- concatenate and print
NAME cat -- concatenate and print .sp
SYNOPSIS
SYNOPSIS cat file1 ... .ul
cat
DESCRIPTION cat reads each file in sequence and writes it on the file1 ...
standard output stream. Thus: .sp
DESCRIPTION
cat file .ul
cat
is about the easiest way to print a file. Also: reads each file in sequence and writes it on
the standard output stream. Thus:
cat filel file2 >file3 .sp
.ul
is about the easiest way to concatenate files. cat file
.sp
FILES is about the easiest way to print a file. Also:
.sp
SEE ALSO pr, cp .ul
cat filel file2 >file3
DIAGNOSTICS If a file cannot be found it is ignored. If no files are .sp
given, "no files" is output. is about the easiest way to concatenate files.
.sp
BUGS FILES --
.sp
OWNER ken, dmr 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
+31 -28
View File
@@ -1,28 +1,31 @@
11/3/70 CHMOD (I) .oh '11/3/70''CHMOD(I)'
.ta 18 21
NAME chmod -- change mode
NAME chmod -- change mode .sp
SYNOPSIS
SYNOPSIS chmod octal file1 file2 file3 ... .ul
chmod
DESCRIPTION The octal mode replaces the mode of each of the files. The octal file1 file2 file3 ...
mode is constructed from the OR of the following modes: .sp
DESCRIPTION The octal mode replaces the mode of each of the
01 write for non--owner files. The mode is constructed from the OR of
02 read for non--owner the following modes:
04 write for owner .sp
10 read for owner 01 write for non--owner
20 executable 02 read for non--owner
40 set--UID 04 write for owner
10 read for owner
Only the owner of a file may change its mode. 20 executable
40 set--UID
FILES .sp
Only the owner of a file may change its mode.
SEE ALSO stat, ls .sp
FILES --
DIAGNOSTICS .sp
SEE ALSO stat, ls
BUGS .sp
DIAGNOSTICS --
OWNER ken, dmr .sp
BUGS --
.sp
OWNER ken, dmr
+27 -21
View File
@@ -1,21 +1,27 @@
11/3/70 CHOWN (I) .oh '11/3/70''CHOWN(I)'
.ta 18 21
NAME chown -- change owner
NAME chown -- change owner .sp
SYNOPSIS
SYNOPSIS chown owner file .ul
chown
DESCRIPTION owner becomes the new owner of the files. The owner is an owner file
octal UID. .sp
DESCRIPTION
Only the owner of a file is allowed to change the owner. .ul
owner
FILES becomes the new owner of the files. The
owner is an octal UID.
SEE ALSO stat .sp
Only the owner of a file is allowed to change
DIAGNOSTICS the owner.
.sp
BUGS FILES --
.sp
OWNER ken, dmr SEE ALSO stat
.sp
DIAGNOSTICS ?
.sp
BUGS --
.sp
OWNER ken, dmr
+1121
View File
File diff suppressed because it is too large Load Diff