Searched hist:222134 (Results 1 - 2 of 2) sorted by relevance
/freebsd-9.3-release/tools/regression/bin/sh/parser/ | ||
H A D | heredoc11.0 | 222134 Fri May 20 14:19:26 MDT 2011 jilles 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 <<EOF foo EOF` echo $v This commit does not add support for the similar construct with new-style command substitution, like v=$(cat <<EOF foo EOF) This continues to require a newline after the terminator. |
/freebsd-9.3-release/bin/sh/ | ||
H A D | parser.c | diff 222134 Fri May 20 14:19:26 MDT 2011 jilles 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 <<EOF foo EOF` echo $v This commit does not add support for the similar construct with new-style command substitution, like v=$(cat <<EOF foo EOF) This continues to require a newline after the terminator. |
Completed in 138 milliseconds