Searched hist:219623 (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-release/bin/sh/tests/expansion/ | ||
H A D | plus-minus8.0 | 219623 Sun Mar 13 20: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 D | trim7.0 | 219623 Sun Mar 13 20: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-11.0-release/bin/sh/ | ||
H A D | parser.c | diff 219623 Sun Mar 13 20: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 69 milliseconds