diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 1999-07-08 01:16:48 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 1999-07-08 01:16:48 +0000 |
commit | 0ba9bc0e342f272ae2b9f6675d3dbb5571a9af76 (patch) | |
tree | de6bd1deabfa4fced5fe0aeae1bd0242867b94b2 | |
parent | 32abae2d59fdf7a1a45b0b7996f32b88f799e7b9 (diff) |
documentation fixes
-rw-r--r-- | gnu/usr.bin/bc/doc/bc.1 | 6 | ||||
-rw-r--r-- | gnu/usr.bin/bc/doc/dc.1 | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/bc/doc/bc.1 b/gnu/usr.bin/bc/doc/bc.1 index e0cef9cff86..8cad3ce48d3 100644 --- a/gnu/usr.bin/bc/doc/bc.1 +++ b/gnu/usr.bin/bc/doc/bc.1 @@ -329,7 +329,7 @@ precision, some numbers may not be printable on a single output line. These long numbers will be split across lines using the "\e" as the last character on a line. The maximum number of characters printed per line is 70. Due to the interactive nature of \fBbc\fR printing -a number cause the side effect of assigning the printed value the the +a number causes the side effect of assigning the printed value the special variable \fBlast\fR. This allows the user to recover the last value printed without having to retype the expression that printed the number. Assigning to \fBlast\fR is legal and will @@ -337,7 +337,7 @@ overwrite the last printed value with the assigned value. The newly assigned value will remain until the next number is printed or another value is assigned to \fBlast\fR. (Some installations may allow the use of a single period (.) which is not part of a number as a short -hand notation for for \fBlast\fR.) +hand notation for \fBlast\fR.) .IP "string" The string is printed to the output. Strings start with a double quote character and contain all characters until the next double quote character. @@ -348,7 +348,7 @@ The print statement (an extension) provides another method of output. The "list" is a list of strings and expressions separated by commas. Each string or expression is printed in the order of the list. No terminating newline is printed. Expressions are evaluated and their -value is printed and assigned the the variable \fBlast\fR. Strings +value is printed and assigned the variable \fBlast\fR. Strings in the print statement are printed to the output and may contain special characters. Special characters start with the backslash character (\e). The special characters recognized by \fBbc\fR are diff --git a/gnu/usr.bin/bc/doc/dc.1 b/gnu/usr.bin/bc/doc/dc.1 index dd1357ac27a..49ee9371e18 100644 --- a/gnu/usr.bin/bc/doc/dc.1 +++ b/gnu/usr.bin/bc/doc/dc.1 @@ -67,7 +67,7 @@ and does not print a newline after. .TP .B P Pops off the value on top of the stack. -If it it a string, it is simply printed without a trailing newline. +If it is a string, it is simply printed without a trailing newline. Otherwise it is a number, and the integer portion of its absolute value is printed out as a "base (UCHAR_MAX+1)" byte stream. Assuming that (UCHAR_MAX+1) is 256 |