colis-anr / morbig

A static parser for POSIX Shell
Other
190 stars 8 forks source link

Add an option to disable alias expansion #96

Closed Niols closed 5 years ago

Niols commented 5 years ago

The other parsers probably simply ignore aliases when in parse-only mode. And since (probably) most uses of aliases are simple (they do not play with keywords), this seems safe. For benchmarks like we do against Dash on the Software Heritage archive, it could be interesting to have a way to disable our alias expansion mechanism.