Skip to content

Commit

Permalink
File args are optional. Document strings and \<newline><whitespace> in
Browse files Browse the repository at this point in the history
numbers.

ok jmc@
  • Loading branch information
omoerbeek committed Sep 26, 2003
1 parent dcaea79 commit 87fcf13
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions usr.bin/bc/bc.1
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 87fcf13

Please sign in to comment.