Commit graph

226 commits

Author SHA1 Message Date
mateoferon
f74c97fc7f feat(bash): support bash time syntax 2022-12-09 16:57:20 +01:00
zawz
6453b44b00 chore(options): move -A option in help 2022-05-04 15:16:33 +02:00
zawz
f93447e7dc fix(parse): fix parse of sequential braces 2022-04-08 15:38:11 +02:00
zawz
0903cf41a1 chore(debashify): debashify procsub in redirects 2022-02-04 16:50:44 +01:00
zawz
8f0fd6f956 fix(bash): fix procsub redirect on block 2022-02-04 16:39:30 +01:00
zawz
bce1d4b455 feat(options): add --lxsh option to force lxsh parse 2022-02-04 15:17:13 +01:00
zawz
fe7e6cdb52 fix(minify): incorrectly escaped dollar on manip 2022-02-03 11:14:30 +01:00
zawz
b2c5aeea02 fix(exec): fix segfault on exec failure 2022-01-28 09:38:42 +01:00
zawz
d41ec0e3c6 tests: add empty quote dequote test 2022-01-28 09:38:13 +01:00
zawz
2024152dc6 fix(include): fix broken include on empty files 2022-01-24 14:46:48 +01:00
zawz
29f0fd91ad fix(minify)): fix removal of quote-only args 2022-01-19 17:41:25 +01:00
zawz
32b19a12fd chore: add tests 2021-12-20 15:59:42 +01:00
zawz
cdd03f28ac fix(debashify): error message on empty array create 2021-12-20 15:54:04 +01:00
zawz
8a64d4e207 fix(debashify): fix empty array debashify segfault 2021-12-20 15:53:38 +01:00
zawz
84ac0fa0ff fix(parse): fix broken bash array assign parse 2021-12-20 15:53:15 +01:00
zawwz
97da108d1a feat(minify): extend single-block minify 2021-12-10 16:24:46 +01:00
zawwz
d10be4116a fix(parse): fix incorrect parse of heredocuments on broken lists 2021-12-10 15:33:05 +01:00
zawz
0d56e6099d chore: increment version 2021-11-21 11:31:51 +01:00
zawz
0eb98c8c13 Merge branch 'dev' of github.com:zawwz/lxsh into dev 2021-11-21 11:29:37 +01:00
zawwz
78a768e98e fix(minify): fix subshell with backslash set as backtick 2021-11-09 16:26:14 +01:00
zawz
44c03ca0be fix debashify brace expansion segfault 2021-11-06 19:18:29 +01:00
zawwz
fab144947a internal: add obj recursive copy 2021-11-05 15:57:15 +01:00
zawwz
eac178e07a debashify brace expansions 2021-11-05 15:56:58 +01:00
zawwz
db3994f6d2 fix missing % arithmetic operator 2021-11-05 13:21:26 +01:00
zawwz
9dc7c12448 fix debug -J option 2021-11-05 11:32:11 +01:00
zawwz
39cc1da707 fix parsing of # in middle of arg 2021-11-05 10:52:48 +01:00
zawwz
a9e6b27ace fix arithmetic subarithmetic parse 2021-11-05 10:48:16 +01:00
zawwz
9a3086fc06 fix parenthesis arithmetic parsing 2021-11-05 10:27:47 +01:00
zawwz
0e9aa3b023 add map options 2021-11-03 14:37:49 +01:00
zawwz
92d4caf5c0 code cleanup 2021-11-03 11:41:42 +01:00
zawwz
6eb164fd58 update minify doc 2021-10-29 13:41:35 +02:00
zawwz
89160324cd bump version to 1.4 2021-10-29 13:29:24 +02:00
zawwz
e80ca9fb4c fix quote minify applying in heredocument 2021-10-28 13:34:24 +02:00
zawwz
cdf4ca5b85 minify escaped dollar 2021-10-28 13:33:46 +02:00
zawwz
0b46581b22 extend minify quotes to var assigns 2021-10-28 13:33:06 +02:00
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