From 81daadfce8d5a6aec93c248e4428794a727e1069 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sun, 11 Nov 2007 14:21:23 +0800 Subject: [PARSER] Removed noexpand/length check on eofmark On Tue, Oct 30, 2007 at 04:23:35AM +0000, Oleg Verych wrote: > > } 8<<"" > ====================== Actually this (the empty delim) only works with dash by accident. I've tried bash and pdksh and they both terminate on the first empty line which is what you would expect rather than EOF. The real Korn shell does something completely different. I've fixed this in dash to conform to bash/pdksh. > In [0] it's stated, that delimiter isn't evaluated (expanded), only > quoiting must be checked. That if() seems to be completely bogus. OK I agree. The reason it was there is because the parser would have already replaced the dollar sign by an internal representation. I've fixed it properly with this patch. Test case: cat <<- $a OK $a cat <<- "" OK echo OK Old result: dash: Syntax error: Illegal eof marker for << redirection OK echo OK New result: OK OK OK --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d50d36c..ad98810 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-11-11 Herbert Xu + + * Removed noexpand/length check on eofmark. + 2007-10-20 Herbert Xu * Added configure --enable-glob and --enable-fnmatch options. -- cgit 1.4.1 ow=1'>commit diff
Commit message (Expand)Author
2019-10-03Add C-u and move underline to C-_June McEnroe
2019-09-16Remove -W WEBIRC optionJune McEnroe
2019-09-16Use /etc/ssl/cert.pem in chrootJune McEnroe
2019-09-16Bump .so versions in chrootJune McEnroe
2019-09-16Set default nick to USER unless -PJune McEnroe
2019-09-16Add restricted modeJune McEnroe
2019-07-27Use braces in MakefileJune McEnroe
2019-07-27Make copyright headers consistentJune McEnroe
2019-07-27Mark sig_atomic_t array volatileJune McEnroe
2019-07-02Add /listJune McEnroe
2019-07-02Deal with ~users in colorGenJune McEnroe
2019-07-02Clean up input parameter handlingJune McEnroe
2019-07-02Split /raw and /quoteJune McEnroe
2019-07-02Add -k option for joining with keysJune McEnroe
2019-07-02Add optional key to /joinJune McEnroe
2019-07-02Restart process in sandmanJune McEnroe
2019-02-27Add /move commandJune McEnroe
2019-02-26Add M-/ to switch to previously active windowJune McEnroe
2019-02-25Move nick and tag coloring to color.cJune McEnroe
2019-02-25Add M-l to list the logJune McEnroe
2019-02-25Output raw to standard error if it is not a terminalJune McEnroe
2019-02-25Update tag colorsJune McEnroe
2019-02-25Add color to tagsJune McEnroe
2019-02-25Remove tag X macros againJune McEnroe
2019-02-25Add M-a to switch to hot or unread windowJune McEnroe
2019-02-25Refactor uiReadJune McEnroe
2019-02-24Scroll by full pages with PageUp/PageDownJune McEnroe
2019-02-23Clarify /window documentationJune McEnroe
2019-02-23Use first word of params in input commandsJune McEnroe
2019-02-23Add C-n and C-p key bindings to switch windowsJune McEnroe
2019-02-23Change example command to join #ascii.town on freenodeJune McEnroe
2019-02-23Call def_prog_mode after termNoFlowJune McEnroe
2019-02-22Move IRC formatting reset to C-sJune McEnroe
2019-02-22Disable terminal flow controlJune McEnroe
2019-02-22Bind up and down arrows to scrollJune McEnroe
2019-02-22Remove topic TODOJune McEnroe
2019-02-22Add /znc commandJune McEnroe
2019-02-22Update status line after scrolling and term eventsJune McEnroe
2019-02-22Reorganize input.cJune McEnroe
2019-02-22Fix name of <raw> window in man pageJune McEnroe
2019-02-22Rename global tags with angle bracketsJune McEnroe
2019-02-22Show status window while connectingJune McEnroe
2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe
2019-02-21Replace "view" with "window"June McEnroe
2019-02-21Remove ROT13June McEnroe
2019-02-21Clean up man pageJune McEnroe
2019-01-26Draw UI before connectingJune McEnroe
2019-01-25Avoid unused variable warnings with getyxJune McEnroe
2019-01-25Add GNU/Linux build instructionsJune McEnroe