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.
- Re: RFC 226 (v1) Selective interpolation in single... Jarkko Hietaniemi
- Re: RFC 226 (v1) Selective interpolation in si... Jarkko Hietaniemi
- Re: RFC 226 (v1) Selective interpolation i... Mark-Jason Dominus
- Re: RFC 226 (v1) Selective interpolati... Jarkko Hietaniemi
- Re: RFC 226 (v1) Selective interpolati... Damian Conway
- Re: RFC 226 (v1) Selective interp... Jarkko Hietaniemi
- Re: RFC 226 (v1) Selective interp... Brad Hughes
- Re: RFC 226 (v1) Selective interp... Nathan Torkington
- Re: RFC 226 (v1) Selective interp... Bart Lateur
- Re: RFC 226 (v1) Selective interpolation in single quot... Michael G Schwern
- Re: RFC 226 (v1) Selective interpolation in single... Brad Hughes
- Re: RFC 226 (v1) Selective interpolation in single... Nathan Torkington