summaryrefslogtreecommitdiff
path: root/usr.bin/bc/bc.1
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-10-18 19:57:11 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-10-18 19:57:11 +0000
commit54e128fd59038d206f8cb7a77b5ec8ee3fd447ea (patch)
tree94bff6c5ce097fad46fec9fb46b2485f5aeb1968 /usr.bin/bc/bc.1
parent2a13d998bc4a3faa40d64cff963aaf133caf795b (diff)
o Fix assignment operators (+=, -=, ... )
o Implement "continue" in loops. If continue is not used, generated code is still "classic" dc(1) compatible. If continue is used, you'll need a dc(1) that implements the J and M operators.
Diffstat (limited to 'usr.bin/bc/bc.1')
-rw-r--r--usr.bin/bc/bc.17
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/bc/bc.1 b/usr.bin/bc/bc.1
index f3736132f92..d6734a810fc 100644
--- a/usr.bin/bc/bc.1
+++ b/usr.bin/bc/bc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bc.1,v 1.5 2003/09/26 13:47:16 otto Exp $
+.\" $OpenBSD: bc.1,v 1.6 2003/10/18 19:57:10 otto Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
.\" All rights reserved.
@@ -120,8 +120,9 @@ while ( E ) S
for ( E ; E ; E ) S
null statement
break
+continue
quit
-a string of letters, enclosed in double quotes
+a string of characters, enclosed in double quotes
.Ed
.Pp
Function definitions
@@ -136,7 +137,7 @@ define L ( L ,..., L ) {
The sequence
.Sq \e\<newline><whitespace>
is ignored within numbers.
-The newline character may be part part of a string.
+A string may contain any character, except double quote.
.Pp
Functions in
.Fl lm