News for hackers. Stuff that matters.
Re:Awk in Haskell by helloTree on Wednesday August 07, 2013 @09:34AM (#6172691)
Or just use ghc -e, e.g. some useful scripts

for interact:

#!/bin/bash ghc -e "interact ($1)"

line processing:

#!/bin/bash ghc -e "interact (unlines . map ($1) . lines)"

There are no comments on this comment yet.