bs.1 (2010 09)

b
bs(1) bs(1)
...
while ?(write = read)
...
# close "read" and "write":
close("read")
close("write")
# Pipe between commands.
open("ls", "!ls *", "r")
open("pr", "!pr -2 -h ’List’", "w")
while ?(pr = ls) ...
...
# be sure to close (wait for) these:
close("ls")
close("pr")
WARNINGS
The graphics mode (plot ...) is not particularly useful unless the
tplot command is available on your
system.
bs is not tolerant of some errors. For example, mistyping a
fun declaration is difficult to correct
because a new definition cannot be made without doing a
clear. The best solution in such a case is to
start by using the edit command.
SEE ALSO
ed(1), sh(1), access(2), printf(3S), stdio(3S), lang(5), regexp(5).
See Section (3M) for a further description of the mathematical functions.
pow() is used for exponentiation — see exp (3M));
bs uses the Standard I/O package.
8 Hewlett-Packard Company 8 HP-UX 11i Version 3: September 2010