git: sh: Allow terminating a heredoc with a terminator at EOF w/o newline.

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Aug 21 16:32:58 PDT 2011


commit b50bb77759a611b50deb3e3ef5bc45c0186bc553
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Mon Jul 4 17:35:34 2011 -1000

    sh: Allow terminating a heredoc with a terminator at EOF w/o newline.
    
    Obtained-from:   FreeBSD SVN rev 222134

Summary of changes:
 bin/sh/parser.c                            |   10 ++++++----
 tools/regression/bin/sh/parser/heredoc11.0 |   26 ++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 4 deletions(-)
 create mode 100644 tools/regression/bin/sh/parser/heredoc11.0

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b50bb77759a611b50deb3e3ef5bc45c0186bc553


-- 
DragonFly BSD source repository





More information about the Commits mailing list