From owner-cvs-src-old@FreeBSD.ORG Fri May 20 16:06:23 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 334CE1065674 for ; Fri, 20 May 2011 16:06:23 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 219968FC1A for ; Fri, 20 May 2011 16:06:23 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p4KG6NBf007725 for ; Fri, 20 May 2011 16:06:23 GMT (envelope-from jilles@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4KG6NCZ007724 for cvs-src-old@freebsd.org; Fri, 20 May 2011 16:06:23 GMT (envelope-from jilles@repoman.freebsd.org) Message-Id: <201105201606.p4KG6NCZ007724@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jilles@repoman.freebsd.org using -f From: Jilles Tjoelker Date: Fri, 20 May 2011 16:03:36 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/sh parser.c src/tools/regression/bin/sh/parser heredoc11.0 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2011 16:06:23 -0000 jilles 2011-05-20 16:03:36 UTC FreeBSD src repository Modified files: bin/sh parser.c Added files: tools/regression/bin/sh/parser heredoc11.0 Log: SVN rev 222134 on 2011-05-20 16:03:36Z by 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 <