From 85307c9ed9cfe02c2c19551f41495d97ef5b8ffb Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Fri, 20 May 2011 16:03:36 +0000 Subject: [PATCH] sh: Allow terminating a heredoc with a terminator at EOF without a newline. This is sometimes used with eval or old-style command substitution, and most shells other than ash derivatives allow it. It can also be used with scripts that violate POSIX's requirement on the application that they end in a newline (scripts must be text files except that line length is unlimited). Example: v=`cat <