From 5025e10a003d5ce73d845e89a1638a626ab52fa4 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Wed, 26 Sep 2007 17:14:16 +0800 Subject: [PARSER] Recognise here-doc delimiters terminated by EOF Previously dash required a character to be present in order for a here-document delimiter to be detected. Allowing EOF in the absence of a to play the same purpose allows some intuitive scripts to succeed. POSIX seems to be silence on this so this should be OK. Test case: eval 'cat <<- NOT test NOT' echo OK Old result: test NOTOK New result: test OK --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 670682b..cf56c9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-26 Herbert Xu + + * Recognise here-doc delimiters terminated by EOF. + 2007-09-26 Roy Marples * Refresh stack pointers after makestrspace in _rmescapes. -- cgit 1.4.1