"Schwarz, Konrad" <konrad.schw...@siemens.com> wrote: > Note the "matching closing parentheses", which means _lexical_ matching, > i.e., counting the number of open and closing parentheses > in the source text.
This is not possible. Shells that try to do that, fail to correctly impklement here documents inside $(..). For a correctly working shell, you need to call the complete parser from inside the lexer. Jörg -- EMail:jo...@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'