-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | wordexp(3) wrappers -- -- man wordexp @package wordexp @version 0.2.2 -- | wordexp (and wordfree) Haskell wrapper module System.Wordexp -- | wordexp wrapper -- -- Allows to specify desired flags, return expanded strings or -- encountered error if any wordexp :: Flags -> String -> IO (Either WordexpError [String]) -- | wordexp flags -- -- Not every flag is supported since some of them do not make much sense -- in Haskell anyway data Flags -- | Disable command substitution in patterns, treat them as errors nosubst :: Flags -- | Do not hide shell error messages in devnull, print them right -- away errors :: Flags -- | Do not accept undefined shell variables, treat them as errors noundef :: Flags -- | Possible wordexp errors data WordexpError OutOfSpace :: WordexpError IllegalCharacterOccurence :: WordexpError UndefinedShellVariable :: WordexpError CommandSubstitution :: WordexpError ShellSyntaxError :: WordexpError instance Data.Data.Data System.Wordexp.WordexpError instance GHC.Arr.Ix System.Wordexp.WordexpError instance GHC.Enum.Bounded System.Wordexp.WordexpError instance GHC.Classes.Ord System.Wordexp.WordexpError instance GHC.Classes.Eq System.Wordexp.WordexpError instance GHC.Read.Read System.Wordexp.WordexpError instance GHC.Show.Show System.Wordexp.WordexpError instance Data.Data.Data System.Wordexp.Flags instance GHC.Arr.Ix System.Wordexp.Flags instance Data.Bits.Bits System.Wordexp.Flags instance GHC.Enum.Bounded System.Wordexp.Flags instance GHC.Classes.Ord System.Wordexp.Flags instance GHC.Classes.Eq System.Wordexp.Flags instance GHC.Read.Read System.Wordexp.Flags instance GHC.Show.Show System.Wordexp.Flags instance Data.Data.Data System.Wordexp.FLAGS instance GHC.Arr.Ix System.Wordexp.FLAGS instance GHC.Enum.Bounded System.Wordexp.FLAGS instance GHC.Classes.Ord System.Wordexp.FLAGS instance GHC.Classes.Eq System.Wordexp.FLAGS instance GHC.Read.Read System.Wordexp.FLAGS instance GHC.Show.Show System.Wordexp.FLAGS instance GHC.Enum.Enum System.Wordexp.WordexpError instance GHC.Exception.Exception System.Wordexp.WordexpError instance GHC.Base.Semigroup System.Wordexp.Flags instance GHC.Base.Monoid System.Wordexp.Flags instance GHC.Enum.Enum System.Wordexp.FLAGS -- | Simple wordexp (and wordfree) Haskell wrapper module System.Wordexp.Simple -- | Simple wordexp wrapper -- -- Return expanded strings or throw an exception if any error is -- encountered wordexp :: String -> IO [String] -- | Possible wordexp errors data WordexpError OutOfSpace :: WordexpError IllegalCharacterOccurence :: WordexpError UndefinedShellVariable :: WordexpError CommandSubstitution :: WordexpError ShellSyntaxError :: WordexpError