Hugh Sasse wrote: > Damn! This problem is just too close to the wire with 6.4 imminent. > I'm getting > > brains hgs 20 %> cat !$ > cat short_heredoc.rb > class Example > def initialize > print <<EOF > "Hi there" > EOF > end > end > > brains hgs 21 %> > indented like: > brains hgs 21 %> !v > vim short_heredoc.rb > brains hgs 22 %> cat !$ > cat short_heredoc.rb > class Example > def initialize > print <<EOF > "Hi there" > EOF > end > end Huh? The indentation doesn¡Çt indent multiline strings, so if you have print <<EOF "Blah" EOF it should leave everything were you put it. That¡Çs a compromise for how exceedingly difficult it would be to implement this correctly without going LALR on it. Perhaps you don¡Çt have syntax on?, nikolai -- Nikolai Weibull: now available free of charge at http://bitwi.se/! Born in Chicago, IL USA; currently residing in Gothenburg, Sweden. main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}