Closed dakyskye closed 3 years ago
dxhd parser errors on this:
# super + {a, b} + {c, d}
echo {a, b} and {c, d}
echo {foo, bar} and {baz, qux}
that's why it has to check variants line by line in the command string
okay, fixing that requires a lot of modification in replicate function, which must be a hard work. I might start parser rewrite, as #12 requires splitting parser into a lot of functions, so it's kinda like rewrite anyway.
parser should also be ok with:
# { a, b }
echo "I'm either a or b"
here is the mistake, instead of finding all variants at once in the whole "command", find them line by line