On Wed, May 8, 2013 at 12:08 AM, erik quanstrom <quans...@quanstro.net> wrote: >> 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.
I actually did, but accidentally ran the old unix port. sorry for the noise.