--eval + --script output polluted by banner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
New
|
Undecided
|
Unassigned |
Bug Description
If I have a hello.lisp with these contents (delimited with markdown for convenience):
```lisp
(format t "Hello from script~%")
```
And I run sbcl as follows:
```sh
sbcl --eval '(format t "Hello from eval~%")' --script hello.lisp
```
The output is polluted by a banner:
```plain
This is SBCL 2.4.8.openbsd.
More information about SBCL is available at <http://
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
Hello from eval
Hello from script
```
Instead, it should be:
```plain
Hello from eval
Hello from script
```
At it currently stands, --eval in combination with --script is only useful in programs where stdout is used purely for human consumption.
SBCL version:
SBCL 2.4.8.openbsd.
uname -a:
OpenBSD jan-z87-obsd 7.6 GENERIC.MP#338 amd64
Ahh, though --eval reenables the banner when used in combination with --script, --noinform disables it again.
```console
λ sbcl --noinform --eval '(format t "Hello from eval~%")' --script /tmp/hello.lisp
Hello from eval
Hello from script
```