mirror of
https://github.com/opnsense/src.git
synced 2026-03-17 08:02:24 -04:00
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.
|
||
|---|---|---|
| .. | ||
| date | ||
| mv | ||
| pax | ||
| sh | ||
| test | ||
| Makefile | ||