Searched hist:214524 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/bin/sh/tests/expansion/
H A Dtrim6.0214524 Fri Oct 29 19:41:31 MDT 2010 jilles sh: Fix some issues with CTL* bytes and ${var#pat}.

subevalvar() incorrectly assumed that CTLESC bytes were present iff the
expansion was quoted. However, they are present iff various processing such
as word splitting is to be done later on.

Example:
v=@$e@$e@$e@
y="${v##*"$e"}"
echo "$y"
failed if $e contained the magic CTLESC byte.

Exp-run done by: pav (with some other sh(1) changes)
/freebsd-11.0-release/bin/sh/
H A Dexpand.cdiff 214524 Fri Oct 29 19:41:31 MDT 2010 jilles sh: Fix some issues with CTL* bytes and ${var#pat}.

subevalvar() incorrectly assumed that CTLESC bytes were present iff the
expansion was quoted. However, they are present iff various processing such
as word splitting is to be done later on.

Example:
v=@$e@$e@$e@
y="${v##*"$e"}"
echo "$y"
failed if $e contained the magic CTLESC byte.

Exp-run done by: pav (with some other sh(1) changes)

Completed in 54 milliseconds