arx-0.3.1: Archive execution tool.

Safe HaskellNone
LanguageHaskell98

System.Posix.ARX.Sh

Description

Utilities for working with shell script.

Synopsis

Documentation

data Val Source #

Valid shell string values contain any byte but null.

Instances

Eq Val Source # 

Methods

(==) :: Val -> Val -> Bool #

(/=) :: Val -> Val -> Bool #

Ord Val Source # 

Methods

compare :: Val -> Val -> Ordering #

(<) :: Val -> Val -> Bool #

(<=) :: Val -> Val -> Bool #

(>) :: Val -> Val -> Bool #

(>=) :: Val -> Val -> Bool #

max :: Val -> Val -> Val #

min :: Val -> Val -> Val #

Show Val Source # 

Methods

showsPrec :: Int -> Val -> ShowS #

show :: Val -> String #

showList :: [Val] -> ShowS #

Raw Val Source # 

Methods

raw :: Val -> ByteString Source #

Render Val Source # 

Methods

render :: Val -> Builder Source #

Render [(Var, Val)] Source # 

Methods

render :: [(Var, Val)] -> Builder Source #

Render [Val] Source # 

Methods

render :: [Val] -> Builder Source #

data Var Source #

Valid shell variable names consist of a leading letter or underscore and then any number of letters, underscores or digits.

Instances

Eq Var Source # 

Methods

(==) :: Var -> Var -> Bool #

(/=) :: Var -> Var -> Bool #

Ord Var Source # 

Methods

compare :: Var -> Var -> Ordering #

(<) :: Var -> Var -> Bool #

(<=) :: Var -> Var -> Bool #

(>) :: Var -> Var -> Bool #

(>=) :: Var -> Var -> Bool #

max :: Var -> Var -> Var #

min :: Var -> Var -> Var #

Show Var Source # 

Methods

showsPrec :: Int -> Var -> ShowS #

show :: Var -> String #

showList :: [Var] -> ShowS #

Raw Var Source # 

Methods

raw :: Var -> ByteString Source #

Render Var Source # 

Methods

render :: Var -> Builder Source #

Render [(Var, Val)] Source # 

Methods

render :: [(Var, Val)] -> Builder Source #

class Render t where Source #

Minimal complete definition

render

Methods

render :: t -> Builder Source #

Instances

Render Var Source # 

Methods

render :: Var -> Builder Source #

Render Val Source # 

Methods

render :: Val -> Builder Source #

Render [(Var, Val)] Source # 

Methods

render :: [(Var, Val)] -> Builder Source #

Render [Val] Source # 

Methods

render :: [Val] -> Builder Source #

class Raw t where Source #

Minimal complete definition

raw

Methods

raw :: t -> ByteString Source #

Instances