.TH eddie 1 .SH NAME eddie \- run haskell filters from the command line .SH SYNOPSYS .B eddie [ .I options ] [ .I expr ] .I file ... .SH DESCRIPTION .B eddie evalutes the provided .I expression on either the contents of the .I file arguments concatenated together, or standard input if no file arguments are present. .PP If the .B \-l option is used, the .I expression is used to process each line instead of the entire contents. .PP The prelude, Data.List and Data.Char modules are available for building expressions. Other modules may be added with the .B \-M and .B \-m options. .SH OPTIONS .IP \-e The .BI \-e\ expr (long form .BI \-\-expr\ expr) option concatenates it's value to the haskell expression being evaluated with a newline separator. Multiple occurrences can be used to build up a multi-line expression. .IP "" If no .BI \-e\ expr option is present, the first non-flag argument will be used for the haskell expression. .IP \-l The .B \-l (long form .B \-\-line ) option causes .B eddie to process input line at a time. The .I expr will be run on each line and the results concatenated together. .RS .PP The command .RS .PP .B eddie \-l .I expr file ... .RE .PP is equivalent to the command .RS .PP .B eddie "unlines . map .I expr \&. lines" .I file ... . .RE 1 .IP \-m The .BI \-m name (long form .BI \-\-module name ) option is used to import module .I name into haskell before evaluating the expression. .IP \-M The .BI \-M name,as (long form .BI \-\-Modules name,as ) option imports the .I name module using a qualified import with an as clause, with .I as being the value for the as clause. .SH SEE ALSO The wiki at for examples. .SH BUGS See the issues list at . .SH AUTHOR Mike Meyer (mwm@mired.org)