<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div>I corresponded with Steve Bourne about here docs a while ago. He said<div class=""><br class=""></div><div class=""><div class="">He said the only reason that indenting was not supported in his shell is that he didn’t think of it and neither did the other guys at Cambridge from whom he got the idea. And,</div><div class=""><br class=""></div></div><div class=""><div class=""><blockquote type="cite" class="" style="font-family: Optima-Regular;"><div class=""><div bgcolor="#FFFFFF" text="#000099" class=""><font face="Helvetica, Arial, sans-serif" class="">I never considered the indent idea.&nbsp; It’s a good idea although I don’t like the idea of post processing the temp file to remove the leading white space.&nbsp; I agree the way it is now is not easy to look at and I can't think of a way to have the ident amount specified&nbsp;in advance of reading the document.<br class=""></font></div></div></blockquote></div><div class=""><div class=""><div bgcolor="#FFFFFF" text="#000099" class=""><font face="Helvetica, Arial, sans-serif" class=""><br class=""></font></div></div></div><div class="">He liked this idea: The proposal could be extended so that if the open quote marking appears on a line by itself, the indentation on that line rules, and all lines through the close quote marking must have the same indenting.</div><div class=""><br class=""></div><div class=""><div class=""><span style="font-family: Menlo;" class="">&nbsp; let foo =&nbsp;</span></div><font face="Menlo" class="">&nbsp; &nbsp;&nbsp;</font><span style="font-family: Menlo;" class="">"</span><span style="font-family: Menlo;" class="">"</span><span style="font-family: Menlo;" class="">"</span><font face="Menlo" class=""><br class=""></font><div class=""><font face="Menlo" class="">&nbsp; &nbsp; indent of initial quote</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; dictates indentation</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; &nbsp; &nbsp; and must match&nbsp;</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp; indent of trailing quote</font></div><div class=""><font face="Menlo" class="">&nbsp; &nbsp;&nbsp;</font><span style="font-family: Menlo;" class="">"</span><span style="font-family: Menlo;" class="">"</span><span style="font-family: Menlo;" class="">"</span></div></div><div class=""><span style="font-family: Menlo;" class=""><br class=""></span></div><div class="">If that proposal is adopted, then there are two alternatives if the open quote marking does not appear on a line by itself:</div><div class="">1. The indent is dictated by the close quote marking (current proposal). The coder can choose to take the parser performance hit, with apologies to srb.</div><div class="">2. There is no indenting and the close quote must appear flush left. (I don’t like this alternative.)</div><div class=""><br class=""></div><div class="">Dave</div></div></body></html>