for interact:
#!/bin/bash ghc -e "interact ($1)"
line processing:
#!/bin/bash ghc -e "interact (unlines . map ($1) . lines)"