aboutsummaryrefslogtreecommitdiff
path: root/shell/match.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style fixDenys Vlasenko2022-05-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: optimize ${var/pattern/repl} for trivial patternsDenys Vlasenko2021-07-271-2/+1
| | | | | | | function old new delta expand_one_var 2353 2507 +154 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix a='a\\'; echo "${a%\\\\}"Denys Vlasenko2018-03-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: tweak bkslash_in_varexp.tests, add bkslash_in_varexp1.testsDenys Vlasenko2018-03-021-0/+2
| | | | | | | | | It turns out bkslash_in_varexp.tests was a bash bug :] ash and hush fail "corrected" bkslash_in_varexp.tests as well, just not as badly as I thought (hush gets half of the cases right). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell/match.c: shrink by dropping double bool inversionDenys Vlasenko2010-09-121-6/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* hush: optimize #[#] and %[%] for speed. size -2 bytes.Denys Vlasenko2010-09-041-44/+62
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* hush: fix handling of backslashes in variable assignmentDenys Vlasenko2010-09-041-20/+14
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* shell: split read builtin from ashDenys Vlasenko2010-01-121-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix SEGV in % expansionDenis Vlasenko2009-04-261-10/+8
| | | | | | function old new delta expand_variables 2203 2217 +14
* hush: plug the leak of expanded heredocDenis Vlasenko2009-04-091-2/+1
|
* implement support for parameter substitution via #/% operatorsMike Frysinger2009-04-071-0/+141