haskell-hsh (2.0.3-6) test2.hs

Summary

 test2.hs |   12 ++++++++++++
 1 file changed, 12 insertions(+)

    
download this patch

Patch contents

--- haskell-hsh-2.0.3.orig/test2.hs
+++ haskell-hsh-2.0.3/test2.hs
@@ -0,0 +1,12 @@
+import HSH
+import HSH.ShellEquivs
+import System.Log.Logger
+
+main = do -- updateGlobalLogger rootLoggerName (setLevel DEBUG)
+          putStrLn " *******  RUN 1"
+          r <- runS ("ls -l" -|- "grep i" -|- wcL)
+          putStrLn $ " *******  RUN 1 result: " ++ show r
+          putStrLn " *******  RUN 2"
+          r2 <- runS ("ls -l" -|- grep "i" -|- wcL)
+          putStrLn $ " *******  RUN 2 result: " ++ show r2
+