Commit graph

180 commits

Author SHA1 Message Date
zawz
f27bb49626 fix debashify applying on ${VAR:-val} 2021-08-14 13:35:18 +02:00
zawz
4ff253a364 implement small optimization on arg parse 2021-08-14 13:09:45 +02:00
zawz
536168eee4 fix for in empty value 2021-08-11 11:56:44 +02:00
zawwz
3562cb77b2 fix memory leaks on debashify and minify 2021-07-27 22:05:44 +02:00
zawwz
20e47ab620 debashify manipulation substring 2021-07-27 20:44:57 +02:00
zawwz
22ab42da08 debashify manipulation replace 2021-07-27 18:03:37 +02:00
zawwz
ee0435101b fix debashify of [[ =~ ]] not correctly matching 2021-07-24 19:45:52 +02:00
zawwz
d90d07635d bump version to 1.3 2021-07-24 19:36:22 +02:00
zawwz
733e6a572d add debashify variable substitution 2021-07-24 19:34:12 +02:00
zawwz
74aa26d935 fix broken redirect concat on block minify 2021-07-24 19:26:06 +02:00
zawwz
4b8e3874e1 fix manipulation minify applying to bash arrays 2021-07-24 19:19:50 +02:00
zawwz
cb6cf4a1d7 fix redirect concatenation on single block minify 2021-07-24 10:04:05 +02:00
zawwz
34d5c059e0 remove reference to minify-quotes 2021-07-24 10:01:19 +02:00
zawwz
251e70e869 move minify-quotes to minify 2021-07-24 08:51:12 +02:00
zawwz
f8b5e04423 fix minify single block for some situations 2021-07-24 08:41:32 +02:00
zawwz
8c63b9a35e minify single-block braces and subshells 2021-07-24 08:35:55 +02:00
zawwz
4c984bdc39 minify empty variable manipulation 2021-07-24 08:26:24 +02:00
zawwz
56bd8a3db7 Merge branch 'dev' of github.com:zawwz/lxsh into dev 2021-07-08 14:34:57 +02:00
zawwz
66b4aaa153 fix quote minify being applied on heredocuments 2021-07-08 14:15:30 +02:00
zawz
982e86cc87 optimize fct minify by counting call occurences 2021-06-30 15:53:38 +02:00
zawz
c5f505462f fix var minify collisions with reserved words 2021-06-30 14:47:19 +02:00
zawz
5a34d8c39e fix deletions causing some empty clauses 2021-06-30 13:23:24 +02:00
zawz
6e87d180c2 fix minify on heredocument at end of case 2021-06-30 09:48:54 +02:00
zawz
aef06f4932 fix quote minify not escaping parentheses 2021-06-30 09:44:17 +02:00
zawz
be4c043a08 fix parsing escaped subshells in heredocuments 2021-06-30 09:43:48 +02:00
zawz
3af1fc57fc fix fct minify encountering reserved words 2021-06-29 15:53:25 +02:00
zawz
767302dd56 fix processing not being done on heredocuments 2021-06-29 15:35:13 +02:00
zawz
0be14815fa fix minify on empty case creating incorrect syntax 2021-06-29 15:34:53 +02:00
zawz
40aee8e3cf fix # not escaped on quote minify 2021-06-29 15:33:54 +02:00
zawz
e7d868de9e implement separated variables on assigns and cmdvars 2021-06-29 15:17:59 +02:00
zawz
38845e8652 multiple parsing fixes
- comment in pipeline throwing an error
- heredocument tries to parse quotes
- split pipeline/condlist combined with heredocuments don't parse correctly
2021-06-29 14:09:11 +02:00
zawz
c6c224bd12 cleanup 2021-06-29 14:07:49 +02:00
zawz
d8b3041e85 fix broken interactive tty on live-exec 2021-06-29 14:07:24 +02:00
zawz
8c3d693182 fixed incorrect debashified echo in combined string and variable 2021-06-28 17:18:34 +02:00
zawz
0e6fc1262d deduplicate parsing constant 2021-06-23 16:54:21 +02:00
zawz
3dc60ff7e3 fix non-quoted resolution of link commands 2021-06-23 16:47:30 +02:00
zawz
579a806c64 remove unused %include -e option 2021-06-23 16:46:57 +02:00
zawz
d461f625e8 fix escape sequences in quoted resolve 2021-06-23 15:53:08 +02:00
zawz
f80594d292 fix parsing stopping after heredocument 2021-06-23 15:52:41 +02:00
zawz
ca2839ec9c add --bash option 2021-06-22 10:52:28 +02:00
zawz
e5d0cf819d fix parsing errors on heredocument not aborting 2021-06-22 10:44:38 +02:00
zawz
bc846bcc56 fix lost file reference + incorrect unexpected token on herestring 2021-06-22 10:27:19 +02:00
zawz
f851650c15 increment bugfix version 2021-06-22 10:02:36 +02:00
zawz
56ed26ed96 fix parsing errors on variables in arithmetics 2021-06-22 10:01:29 +02:00
zawz
5d8ea952a2 fix segfaults and infinite loops on some parsing errors 2021-06-22 09:48:02 +02:00
zawz
052b2b92cb remove extra space on generate redirect-only commands 2021-06-21 16:56:23 +02:00
zawwz
76779cd32d
fix install command 2021-06-11 14:36:06 +02:00
zawwz
3429a398cf
Merge pull request #1 from zawwz/dev
v1.2.0
2021-06-11 14:32:47 +02:00
zawz
a07d0d7a93 update install doc 2021-06-11 14:29:47 +02:00
zawz
bb515636ff improve some error messages 2021-06-11 14:27:59 +02:00