Skip to content

Instantly share code, notes, and snippets.



Created Sep 2, 2010
What would you like to do?
import System.Environment (getArgs)
main = do
filenames <- getArgs
case null filenames of
True -> interact id
False -> putStr . concat =<< mapM readFile filenames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.