- Collapase short and long options together;

- Use consistent marking up with bc(1)'s reference section.

Reviewed by:	gabor
This commit is contained in:
delphij 2010-01-22 23:50:46 +00:00
parent 737c980d8c
commit 231fd8e707

View File

@ -35,7 +35,7 @@
.\" .\"
.\" @(#)dc.1 8.1 (Berkeley) 6/6/93 .\" @(#)dc.1 8.1 (Berkeley) 6/6/93
.\" .\"
.Dd Jan 28 2009 .Dd January 22, 2010
.Dt DC 1 .Dt DC 1
.Os .Os
.Sh NAME .Sh NAME
@ -67,8 +67,7 @@ which implements functions and reasonable control
structures for programs. structures for programs.
The options are as follows: The options are as follows:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl e Ar expr .It Fl e Ar expr , Fl Fl expression Ar expr
.It Fl Fl expression Ar expr
Evaluate Evaluate
.Ar expression . .Ar expression .
If multiple If multiple
@ -80,17 +79,14 @@ argument is given, execution will stop after processing the expressions
given on the command line, given on the command line,
otherwise processing will continue with the contents of otherwise processing will continue with the contents of
.Ar filename . .Ar filename .
.It Fl f Ar filename .It Fl f Ar filename , Fl Fl file Ar filename
.It Fl Fl file Ar filename
Process the content of the given file before further calculations are done. Process the content of the given file before further calculations are done.
If multiple If multiple
.Fl f .Fl f
options are specified, they will be processed in the order given. options are specified, they will be processed in the order given.
.It Fl h .It Fl h , Fl Fl help
.It Fl Fl help
Print short usage info. Print short usage info.
.It Fl V .It Fl V , Fl Fl version
.It Fl Fl version
Print version info. Print version info.
.It Fl x .It Fl x
Enable extended register mode. Enable extended register mode.
@ -513,12 +509,12 @@ operator.
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr bc 1 .Xr bc 1
.Rs .Pp
.%B USD:05 .An -nosplit
.%A L. L. Cherry .An L. L. Cherry ,
.%A R. Morris .An R. Morris
.%T "DC \- An Interactive Desk Calculator" "DC \- An Interactive Desk Calculator"
.Re .Pa /usr/share/doc/usd/05.dc/ .
.Sh STANDARDS .Sh STANDARDS
The arithmetic operations of the The arithmetic operations of the
.Nm .Nm