txt-sushi-0.4.0: Spreadsheets are databases!

Database.TxtSushi.Util.IOUtil

Synopsis

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