]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sh: Partially revert r206146, allowing double-quotes in arithmetic.
authorJilles Tjoelker <jilles@FreeBSD.org>
Sun, 11 Apr 2010 12:24:47 +0000 (12:24 +0000)
committerJilles Tjoelker <jilles@FreeBSD.org>
Sun, 11 Apr 2010 12:24:47 +0000 (12:24 +0000)
commit7f728c60bc55821e8651ac693c64fd34e0dc1975
tree3e27875db3322354a4de8fb72bef072e3a53c1a2
parent6d2b7c381b71cd755f8204de29ff4d1c13a966f8
sh: Partially revert r206146, allowing double-quotes in arithmetic.

These do pretty much nothing (except that parentheses are ignored), but
people seem to use them and allowing them does not hurt much.

Single-quotes seem not to be used and cause silently different behaviour
with ksh93 character constants.
bin/sh/mksyntax.c
bin/sh/parser.c