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