Portability | portable |
---|---|
Stability | experimental |
Maintainer | keithshep@gmail.com |
Safe Haskell | Safe-Inferred |
A couple of util functions for txt-sushi
Documentation
bufferStdioToTempFile :: IO FilePathSource
buffers standard input to a temp file and returns a path to that file
getContentsFromFileOrStdin :: String -> IO StringSource
if given - this file reads from stdin otherwise it reads from the named file
printSingleFileUsage :: IO ()Source
print a cookie-cutter usage message for the command line utilities that take a single file name or - as input