added command ps -stringop, with stringop being (un)lexer defined in Lexing

This commit is contained in:
aarne
2008-06-12 14:36:03 +00:00
parent e969ea61af
commit e783a894bf
3 changed files with 89 additions and 0 deletions

View File

@@ -46,3 +46,8 @@ valOpts flag def opts = case lookup flag flags of
isOpt :: String -> [Option] -> Bool
isOpt o opts = elem o [x | OOpt x <- opts]
prOpt :: Option -> String
prOpt (OOpt i) = i ----