summaryrefslogtreecommitdiff
path: root/static/v10/man6/bc.6
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 21:07:28 -0400
commit711594636704defae873be1a355a292505585afd (patch)
tree59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man6/bc.6
parent3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff)
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man6/bc.6')
-rw-r--r--static/v10/man6/bc.662
1 files changed, 62 insertions, 0 deletions
diff --git a/static/v10/man6/bc.6 b/static/v10/man6/bc.6
new file mode 100644
index 00000000..c0cdc8f6
--- /dev/null
+++ b/static/v10/man6/bc.6
@@ -0,0 +1,62 @@
+.pa 1
+.he 'BC (VI)'6/12/72'BC (VI)'
+.ti 0
+NAME bc -- B interpreter
+.sp
+.ti 0
+SYNOPSIS bc__ [ -c__ ] sfile\d1\u.b__ ... ofile\d1\u ...
+.sp
+.ti 0
+DESCRIPTION bc__
+is the UNIX B interpreter.
+It accepts three types of arguments:
+
+Arguments whose names end with ".b" are assumed to be
+B source programs; they are compiled, and
+the object program is left on the file sfile\d1\u.o (i.e.
+the file whose name is that of the source with ".o" substituted
+for ".b").
+
+Other arguments (except for "-c") are assumed
+to be either loader flag arguments, or B-compatible
+object programs, typically produced by an earlier bc__ run,
+or perhaps libraries of B-compatible routines.
+These programs, together with the results of any
+compilations specified, are loaded (in the order
+given) to produce an executable program with name
+a.out_____.
+
+The "-c" argument suppresses the loading phase, as does
+any syntax error in any of the routines being compiled.
+.sp
+The language itself is described in [1].
+.sp
+The future of B is uncertain.
+The language has been totally eclipsed by the
+newer, more powerful, more compact, and faster
+language C.
+.sp
+.ti 0
+FILES file.b input file
+.nf
+a.out loaded output
+b.tmp1 temporary (deleted)
+b.tmp2 temporary (deleted)
+/usr/lang/bdir/b[ca] translator
+/usr/lang/bdir/brt[12] runtime initialization
+/usr/lib/libb.a builtin functions, etc.
+/usr/lang/bdir/bilib.a interpreter library
+.fi
+.sp
+.ti 0
+SEE ALSO [1] K. Thompson; MM-72-1271-1; Users' Reference to B.
+.br
+cc(I)
+.sp
+.ti 0
+DIAGNOSTICS see [1].
+.sp
+.ti 0
+BUGS Certain
+external initializations are illegal.
+(In particular: strings and addresses of externals.)