Module Name: src Committed By: christos Date: Mon Apr 4 12:39:08 UTC 2016
Modified Files: src/bin/sh: parser.c Log Message: Allow a heredoc to be positioned outside a `` command substitution. POSIX just says "here docs begin after the next newline [token]". Nothing about "provided it is inside any `` the redirect operator appears in... As best I can tell, NetBSD now has the only shell to handle this "correctly" (which raises the question whether it is correct - but if not, only erroneous scripts are affected.) This is required by some (probably broken) autoconfigure related scripts. (from kre@) To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/bin/sh/parser.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.