Appends the contents of a file to another file.
lispworks
append-file from to
from⇩ |
A pathname designator. |
to⇩ |
A pathname designator. |
The function append-file
appends the contents of the file from to another file. The file from must exist.
append-file
opens from for input and to for output using if-exists :append
(see cl:open in the Common Lisp HyperSpec) and copies the contents from from to to.
On any failure append-file
signals an error.
append-file
does not return a useful value.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41