- copy_stream_with_vars(+In:stream, +Out:stream, +Bindings:list(Var=Name)) is det[private]
- Copy all data from In to Out, while replacing
@var@
with a binding from Bindings. In addition,!var!
is replaced with a Prolog-quoted version of the variable content.