packages feed

hsshellscript 3.3.2 → 3.3.3

raw patch · 3 files changed

+17/−16 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hsshellscript.cabal view
@@ -1,5 +1,5 @@ Name:                hsshellscript-Version:             3.3.2+Version:             3.3.3 Synopsis:            Haskell for Unix shell scripting tasks Description:         A Haskell-library for tasks which are usually done in                      shell scripts. This includes parsing command line@@ -37,6 +37,7 @@                      StandaloneDeriving   Build-depends:     base >= 3 && < 6,                      unix >= 2.3.2,+                     -- unix-compat,                      directory,                      parsec >= 2.1.0.1,                      random
src/HsShellScript/Commands.chs view
@@ -23,7 +23,7 @@ import Control.Exception import Text.ParserCombinators.Parsec as Parsec import System.Posix hiding (rename, createDirectory, removeDirectory)-import System.Posix.Env+--import System.Env import System.Random import System.Directory @@ -175,7 +175,7 @@ --    -- See 'cd', 'with_wd' pwd :: IO String-pwd = fmap (fromMaybe "") (System.Posix.Env.getEnv "PWD")+pwd = fmap (fromMaybe "") (System.Posix.getEnv "PWD")   
src/HsShellScript/ProcErr.chs view
@@ -294,7 +294,7 @@    case ps of       Exited (ExitFailure ec) -> "The program exited abnormally with an exit code of " ++ show ec ++ "."       Exited ExitSuccess      -> "The program finished normally."-      Terminated sig coredump -> "The process was terminated by signal " ++ showsig sig ++ "."+      Terminated sig _        -> "The process was terminated by signal " ++ showsig sig ++ "."       Stopped sig             -> "The process was stopped by signal " ++ showsig sig ++ "."    where       showsig sig = show sig ++@@ -505,14 +505,14 @@     Examples: -   >call (exec "/usr/bin/foo" [] -|- exec "/usr/bin/bar" [])+   >subproc (exec "/usr/bin/foo" [] -|- exec "/usr/bin/bar" []) -   >call (    execp "foo" ["..."]-   >      -|= ( -- Do something with foo's output-   >            do cnt <- lazy_contents "-"-   >               ...-   >          )-   >     )+   >sunproc (    execp "foo" ["..."]+   >         -|= ( -- Do something with foo's output+   >               do cnt <- lazy_contents "-"+   >                  ...+   >             )+   >        )     See 'subproc', '(=|-)', '(-|=)', 'redirect' -}@@ -549,7 +549,7 @@     Example: ->call (exec "/usr/bin/foo" [] =|- exec "/usr/bin/bar" [])+>subproc (exec "/usr/bin/foo" [] =|- exec "/usr/bin/bar" [])     See 'subproc', '(-|-)', '(-|=)'. -}@@ -587,7 +587,7 @@     Example: -   >@call (exec \"\/usr\/bin\/foo\" [] -|= exec \"\/usr\/bin\/bar\" [])@+   >@subproc (exec \"\/usr\/bin\/foo\" [] -|= exec \"\/usr\/bin\/bar\" [])@     See 'subproc', '(=|-)', '(=|=)'. -}@@ -624,7 +624,7 @@     Example: -   > call (exec "/usr/bin/foo" [] =|= exec "/usr/bin/bar" [])+   > subproc (exec "/usr/bin/foo" [] =|= exec "/usr/bin/bar" [])     See 'subproc', '=|-', '-|='. -}@@ -800,7 +800,7 @@  Example: -@call (exec \"\/path\/to\/foo\" [] -&\>- \"log\")@+@subproc (exec \"\/path\/to\/foo\" [] -&\>- \"log\")@  See '(-&>>-)', 'err_to_out'. -}@@ -851,7 +851,7 @@  Example: -@call (exec \"\/path\/to\/foo\" [] -\<- \"bar\")@+@subproc (exec \"\/path\/to\/foo\" [] -\<- \"bar\")@  See 'exec', 'runprog', '(->-)', '(=>-)'. -}