Commit graph

191 commits

Author SHA1 Message Date
zawz
2d0041e1ff fix broken heredocument 2021-10-20 17:30:11 +02:00
Mateo Feron
19fb7e8eac add IFS to reserved variables 2021-10-19 12:00:11 +02:00
Mateo Feron
abce171e94 extend minify: minify subshells to backticks 2021-10-14 15:39:52 +02:00
Mateo Feron
92d5f83b2f fix backtick parse 2021-10-14 15:21:30 +02:00
zawz
516fbd5a01 increment version number 2021-10-08 18:21:44 +02:00
zawz
04ef171515 optimize minify operations 2021-08-19 17:48:46 +02:00
zawz
04abba0dfd remove unnecessary newline on here documents 2021-08-19 17:48:23 +02:00
zawz
9d034673ec remove non-working build commands 2021-08-14 13:57:55 +02:00
zawz
65dc4d8c40 add bash completion 2021-08-14 13:55:24 +02:00
zawz
23a8c12bca update doc with new features 2021-08-14 13:52:01 +02:00
zawz
6e64ed64c4 fix minify subshell applying on cd 2021-08-14 13:46:47 +02:00
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