diff options
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 7c1e1d748..ab7263381 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -63,7 +63,6 @@ | |||
63 | * reserved words: function select | 63 | * reserved words: function select |
64 | * advanced test: [[ ]] | 64 | * advanced test: [[ ]] |
65 | * process substitution: <(list) and >(list) | 65 | * process substitution: <(list) and >(list) |
66 | * =~: regex operator | ||
67 | * let EXPR [EXPR...] | 66 | * let EXPR [EXPR...] |
68 | * Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION) | 67 | * Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION) |
69 | * If the last arg evaluates to 0, let returns 1; 0 otherwise. | 68 | * If the last arg evaluates to 0, let returns 1; 0 otherwise. |
@@ -85,11 +84,11 @@ | |||
85 | * v='a b'; [[ $v = 'a b' ]]; echo 0:$? | 84 | * v='a b'; [[ $v = 'a b' ]]; echo 0:$? |
86 | * [[ /bin/n* ]]; echo 0:$? | 85 | * [[ /bin/n* ]]; echo 0:$? |
87 | * = is glob match operator, not equality operator: STR = GLOB | 86 | * = is glob match operator, not equality operator: STR = GLOB |
88 | * (in GLOB, quoting is significant on char-by-char basis: a*cd"*") | ||
89 | * == same as = | 87 | * == same as = |
90 | * =~ is regex match operator: STR =~ REGEX | 88 | * =~ is regex match operator: STR =~ REGEX |
91 | * TODO: | 89 | * TODO: |
92 | * quoting needs to be considered (-f is an operator, "-f" and ""-f are not; etc) | 90 | * quoting needs to be considered (-f is an operator, "-f" and ""-f are not; etc) |
91 | * in word = GLOB, quoting should be significant on char-by-char basis: a*cd"*" | ||
93 | */ | 92 | */ |
94 | //config:config HUSH | 93 | //config:config HUSH |
95 | //config: bool "hush (68 kb)" | 94 | //config: bool "hush (68 kb)" |