txt-sushi-0.5.0: The SQL link in your *NIX chain




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