Date: Thu, 1 Oct 2009 21:40:08 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh parser.c src/tools/regression/bin/sh/errors backquote-error2.0 Message-ID: <200910012143.n91LhWhA081991@repoman.freebsd.org>
index | next in thread | raw e-mail
jilles 2009-10-01 21:40:08 UTC
FreeBSD src repository
Modified files:
bin/sh parser.c
Added files:
tools/regression/bin/sh/errors backquote-error2.0
Log:
SVN rev 197691 on 2009-10-01 21:40:08Z by jilles
sh: Disallow mismatched quotes in backticks (`...`).
Due to the amount of code removed by this, it seems that allowing unmatched
quotes was a deliberate imitation of System V sh and real ksh. Most other
shells do not allow unmatched quotes (e.g. bash, zsh, pdksh, NetBSD /bin/sh,
dash).
PR: bin/137657
Revision Changes Path
1.64 +1 -7 src/bin/sh/parser.c
1.1 +7 -0 src/tools/regression/bin/sh/errors/backquote-error2.0 (new)
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910012143.n91LhWhA081991>
