Michael G Schwern wrote:
[...] 
> Personally, I'd solve this with sprintf():
> 
>     print F sprintf <<'END', $filename;
>     $!
>     $! execute a.com, copy and purge
>     $!
>     $ @sys$login:a.com
>     $ copy %s sys$login:*.*
>     $ purge sys$login:$filename
>     $!
>     $ exit
> 
> but its not very idiomatic and YMMV.

Yes, matching variables to format specifiers in a multipage here-doc
would be a daunting task.

Reply via email to