summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-12-02 09:00:49 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-12-02 09:00:49 +0000
commit614c7fb94be01813da533867c367aec4daa4440f (patch)
tree2e6254ca60d966194bd9e0cf6ea58b46bdf7178e
parente0fb05eb8bc64b3760a73c307816506bb4d6239e (diff)
Describe long variable names, a non-portable extension.
help and ok jmc@
-rw-r--r--usr.bin/bc/bc.19
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/bc/bc.1 b/usr.bin/bc/bc.1
index 570e1aedf22..6d82072cea2 100644
--- a/usr.bin/bc/bc.1
+++ b/usr.bin/bc/bc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bc.1,v 1.14 2003/11/17 11:21:00 otto Exp $
+.\" $OpenBSD: bc.1,v 1.15 2003/12/02 09:00:48 otto Exp $
.\"
.\" Copyright (C) Caldera International Inc. 2001-2002.
.\" All rights reserved.
@@ -80,6 +80,13 @@ means letter a-z;
means expression;
.Sq S
means statement.
+As a non-portable extension, it is possible to use long names
+in addition to single letter names.
+A long name is a sequence starting with a lowercase letter
+followed by any number of lowercase letters and digits.
+The underscore character
+.Pq Sq _
+counts as a letter.
.Pp
Comments
.Bd -unfilled -offset indent -compact