Hello,

so I repeat my question. While this is possible in bash:

;cat aBash
for i in 1 2 3
do
cat <<!
$i
!
done
;
;bash aBash
1
2
3
;

it doesn't work in rc:

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



;

Is this as it should be?
Can the rc example be modified --- still using a here document --- so
that it works?

Thanks
Ruda

Reply via email to