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.
Arguments:
Bindings- List of Var=Name or Var(Name). If exact case match fails, the match is retried with the lowercase name.