diff options
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index b0c7dac..987d618 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -6680,6 +6680,7 @@ subevalvar(char *p, char *varname, int strloc, int subtype, if (*loc++ == ':') { len = number(loc); } +//TODO: number() chokes on "-n". In bash, LEN=-n means strlen()-n } if (pos < 0) { /* ${VAR:$((-n)):l} starts n chars from the end */ |