From 81887ba633795a75b2b3d99f3b37b1dac84935ad Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 27 Sep 2019 12:36:23 +0200 Subject: [PATCH] cat: Write to stdout not stderr --- src/haskell/exe/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haskell/exe/Main.hs b/src/haskell/exe/Main.hs index ca6242b..cc30bac 100644 --- a/src/haskell/exe/Main.hs +++ b/src/haskell/exe/Main.hs @@ -154,7 +154,7 @@ runCat co = do , evalMode = ReadWrite , evalUserArgs = nixArgs co } - T.hPutStrLn stderr (pretty v) + T.hPutStrLn stdout (pretty v) runRepl :: CommonOptions -> IO () runRepl opts =