> I guess I must be missing something, but this seems equivalent to your
> bash script:
> 
> for(i in 1 2 3) {
>         cat <<!
> $i
> !
> }

clearly you did not run this script.  this doesn't
work for the same reason that here docs in functions
don't work.

- erik

Reply via email to