Research V4 development
[unix-history] / man / manx / bc.6
CommitLineData
4d99a4c1
KT
1.th BC VI 6/12/72
2.sh NAME
3bc \*- B interpreter
4.sh SYNOPSIS
5.bd bc
6[
7.bd -c
8]
9files ...
10.sh DESCRIPTION
11.it Bc
12is the UNIX B interpreter.
13It accepts three types of arguments:
14.s3
15Arguments whose names end with
16.bd .b
17are assumed to be
18B source programs; they are compiled, and
19the object program is left on the file
20the file whose name is that of the source with
21.bd .o
22substituted for
23.bd .o.
24.s3
25Other arguments, except for
26.bd -c,
27are assumed
28to be either loader flag arguments, or B-compatible
29object programs, typically produced by an earlier
30.it bc
31run,
32or perhaps libraries of B-compatible routines.
33These programs, together with the results of any
34compilations specified, are loaded (in the order
35given) to produce an executable program with name
36.bd a.out.
37.s3
38The
39.bd -c
40argument suppresses the loading phase, as does
41any syntax error in any of the routines being compiled.
42.s3
43The language itself is described in [1].
44.s3
45The future of B is uncertain.
46The language has been totally eclipsed by the
47newer, more powerful, more compact, and faster
48language C.
49.sh FILES
50file.b input file
51.br
52a.out loaded output
53.br
54b.tmp1 temporary (deleted)
55.br
56b.tmp2 temporary (deleted)
57.br
58/usr/lang/bdir/b[ca] translator
59.br
60/usr/lang/bdir/brt[12] runtime initialization
61.br
62/usr/lib/libb.a builtin functions, etc.
63.br
64/usr/lang/bdir/bilib.a interpreter library
65.sh "SEE ALSO"
66[1] K. Thompson; MM-72-1271-1; Users' Reference to B.
67.br
68cc(I)
69.sh DIAGNOSTICS
70see [1].