summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-09-26 13:47:17 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-09-26 13:47:17 +0000
commiteb9ff68bc21b8dab52e7796b3badb62ebb27e4b3 (patch)
treeacc48a0db88b225385a4556a43b4797521345237 /usr.bin
parent25c59bb9af1086454d7e3ae7653b868500e2a271 (diff)
File args are optional. Document strings and \<newline><whitespace> in
numbers. ok jmc@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/bc/bc.110
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/bc/bc.1 b/usr.bin/bc/bc.1
index b308db684b2..f3736132f92 100644
--- a/usr.bin/bc/bc.1
+++ b/usr.bin/bc/bc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bc.1,v 1.4 2003/09/26 11:21:26 jmc Exp $
+.\" $OpenBSD: bc.1,v 1.5 2003/09/26 13:47:16 otto Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
.\" All rights reserved.
@@ -42,7 +42,7 @@
.Sh SYNOPSIS
.Nm bc
.Op Fl cl
-.Ar
+.Op Ar file ...
.Sh DESCRIPTION
.Nm
is an interactive processor for a language which resembles
@@ -121,6 +121,7 @@ for ( E ; E ; E ) S
null statement
break
quit
+a string of letters, enclosed in double quotes
.Ed
.Pp
Function definitions
@@ -132,6 +133,11 @@ define L ( L ,..., L ) {
}
.Ed
.Pp
+The sequence
+.Sq \e\<newline><whitespace>
+is ignored within numbers.
+The newline character may be part part of a string.
+.Pp
Functions in
.Fl lm
math library