Searched hist:219623 (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.0-release/tools/regression/bin/sh/expansion/
H A Dplus-minus8.0219623 Sun Mar 13 18:18:48 MDT 2011 jilles sh: Fix some parameter expansion variants ${#...}.

These already worked: $# ${#} ${##} ${#-} ${#?}
These now work as well: ${#+word} ${#-word} ${##word} ${#%word}

There is an ambiguity in the standard with ${#?}: it could be the length of
$? or it could be $# giving an error in the (impossible) case that it is not
set. We continue to use the former interpretation as it seems more useful.
H A Dtrim7.0219623 Sun Mar 13 18:18:48 MDT 2011 jilles sh: Fix some parameter expansion variants ${#...}.

These already worked: $# ${#} ${##} ${#-} ${#?}
These now work as well: ${#+word} ${#-word} ${##word} ${#%word}

There is an ambiguity in the standard with ${#?}: it could be the length of
$? or it could be $# giving an error in the (impossible) case that it is not
set. We continue to use the former interpretation as it seems more useful.
/freebsd-10.0-release/bin/sh/
H A Dparser.cdiff 219623 Sun Mar 13 18:18:48 MDT 2011 jilles sh: Fix some parameter expansion variants ${#...}.

These already worked: $# ${#} ${##} ${#-} ${#?}
These now work as well: ${#+word} ${#-word} ${##word} ${#%word}

There is an ambiguity in the standard with ${#?}: it could be the length of
$? or it could be $# giving an error in the (impossible) case that it is not
set. We continue to use the former interpretation as it seems more useful.

Completed in 162 milliseconds