On Mon, May 6, 2013 at 9:27 AM, Rudolf Sykora <rudolf.syk...@gmail.com> wrote:
> Can the rc example be modified --- still using a here document --- so
> that it works?

I guess I must be missing something, but this seems equivalent to your
bash script:

for(i in 1 2 3) {
        cat <<!
$i
!
}

Reply via email to