Do not expand filename for comint, causes problems
Use /bin/sh (the most likely available) for filtering