Yes, and without understanding how it works, I'm left wondering whether it's even safe to use this way. Will creduce execute mutated versions of the input script, potentially deleting my files or eating my lunch?
rm -rf /foo/bar
and in theory it could reduce it to rm -rf /
The passes are very heuristic, so that doesn't seem like something you can rule out.(and I actually want to run it on shell scripts! )
TLDR; C-Reduce just gives you text to run/compile, if you're worried about things like that sandbox as much as possible.