zawwz
f99f40b3e8
Implement debashify of <() (process substitution)
2021-01-08 11:38:25 +01:00
zawwz
576ce0c4ed
fix issue on <() parsing + add debug NO_PARSE_CATCH
2021-01-08 11:07:20 +01:00
zawwz
2a86e06551
Remove trailing space on empty commands
2021-01-06 16:46:43 +01:00
zawwz
2b1e7c008b
restructure struc object extensions
2021-01-06 16:37:08 +01:00
zawwz
44d71155cc
Add --no-shebang option
2021-01-06 14:49:20 +01:00
zawwz
5944fa7cc6
missing shebang change on --debashify
2021-01-06 14:38:27 +01:00
zawwz
6a58f345b8
Add missing recursive call on variable manipulations
2021-01-06 12:18:11 +01:00
zawwz
36dfd9266e
Implement <() bash process substitution
2021-01-06 12:15:31 +01:00
zawwz
c199969b63
first debashify implementation: replace &> and >& redirects
2021-01-06 11:10:45 +01:00
zawwz
afa07b3c5e
Prepare debashify: implement bash specific parsing
2021-01-06 10:14:08 +01:00
zawwz
4e137ab35e
Fix generate bug on empty commands
2021-01-06 10:07:04 +01:00
zawwz
46047f2a88
Reorganize secondary option processing to run before first parse
2021-01-06 10:06:04 +01:00
zawwz
2622103cf7
increment dev version
2021-01-06 09:59:28 +01:00
zawwz
4dc5c8f317
update doc
2020-12-11 13:40:29 +01:00
zawwz
ebce56c29c
fix bug on minimizing collisions on 'unset' with bash
2020-12-11 12:28:09 +01:00
zawwz
ed2ebba6ff
Update install doc
2020-11-27 11:47:41 +01:00
zawwz
3811cdae80
Update WIP doc
2020-11-27 11:46:17 +01:00
zawwz
6620fb42ff
Add --unset-var option
2020-11-27 11:03:55 +01:00
zawwz
b4a99d366d
Restructure files: separate processing utilities
2020-11-27 10:32:32 +01:00
zawz
7e5c505a3f
Extend minimize and processing
...
+ Add --no-exclude-reserved option
+ Add --list-var-dev and --list-var-call options
+ --remove-unused now also removes unused variables
+ --remove-unused now removes recursively
2020-11-25 16:55:35 +01:00
zawz
b3f02ce06d
Optimize var operations on get argument var definitions
2020-11-20 22:19:28 +01:00
zawz
269427af3d
doc: update missing features
2020-11-20 10:44:23 +01:00
zawz
6bd91bde7f
fix typo
2020-11-20 10:42:48 +01:00
zawz
aeef5a3554
Complete missing doc
2020-11-20 10:42:30 +01:00
zawz
71bb883cba
Fix missing recursive call on redirs in blocks
2020-11-19 17:05:37 +01:00
zawz
806580ac2a
Fix gcc compile bug due to external defined inline
2020-11-19 16:53:41 +01:00
zawz
f527920a2d
Increment version
2020-11-19 16:51:50 +01:00
zawz
1a5bbd7986
implement redirect parsing and minimizing
2020-11-19 16:51:26 +01:00
zawz
b0060b1fdf
Update installation doc
2020-11-14 18:38:40 +01:00
zawz
1f4ded3746
Add version tag for debug build
2020-11-14 18:24:47 +01:00
zawz
26b21f0214
Fix broken parsing
2020-11-14 18:23:34 +01:00
zawz
a71b8d1284
Update doc
2020-11-14 17:57:17 +01:00
zawz
4cb502182e
Fix some parsing errors resulting in unwanted behaviour
2020-11-14 17:57:02 +01:00
zawz
1a030c2a65
Ignore generated version header
2020-11-14 17:33:38 +01:00
zawz
05ecd903a7
Add missing version header
2020-11-14 17:33:19 +01:00
zawz
1a195e777c
Fix always exit
2020-11-14 17:32:09 +01:00
zawz
144ff45830
Add version option
2020-11-14 17:21:47 +01:00
zawz
fced49c98e
More aggressive compilation optimisation
2020-11-14 16:24:07 +01:00
zawz
ca114a8ea0
Reorder options
2020-11-14 16:23:36 +01:00
zawz
78d3595989
Fix broken autodetect execution
2020-11-13 16:49:34 +01:00
zawz
efd9e95b26
add dev profiling
2020-11-13 15:22:46 +01:00
zawz
d33ff9e13b
fix incorrect include
2020-11-13 15:19:47 +01:00
zawz
a0155991e3
Performance optimizations
...
- Replaced some exec() calls with functions
- Removed resolved code being resolved again
- Removed empty string subargs inserted upon parsing
2020-11-13 15:18:30 +01:00
zawz
5a7c2e0bf0
add ${} parsing
2020-11-10 18:01:51 +01:00
zawz
99957ee3e5
Fix reserved vars not being excluded when no --exclude-var specified
2020-11-06 18:20:13 +01:00
zawz
ee05577a2d
Fix missing option exclude rename
2020-11-06 17:46:32 +01:00
zawz
dda4a87b28
Rename exclude options + minor code reformat
2020-11-06 17:43:37 +01:00
zawz
a777608f08
minor var minimize fixes
...
~ OPTING and OPTARG reserved
+ Add command read to variable argument parse
2020-11-06 17:07:18 +01:00
zawz
c971b4e424
Major rework
...
~ Altered internal structure
~ Changed processing method to recursive function
~ Changed %include/%resolve
+ Output mode now reads multiple arguments
+ Toggleable include/resolve
+ Added variable and function processing (list/minimize)
- Remove some options for %include/%resolve
~ Many minor behaviour changes
2020-11-06 16:35:36 +01:00
zawz
26f9ee60c4
Fix segfault on -e with no arguments
2020-10-21 15:58:06 +02:00