Haskell程序,按正则表达式过滤编译日志

程序目的很简单,只是用来过滤 gcc 的输出。当然因为正则表达式是通用的,所以也可以拿来干其它事情。

我知道 awk 最简单,也有更平台无关的 python 实现。于是其实只是想写个 haskell 玩罢了。

https://github.com/weidongxu84/haskell_study/blob/master/GccWarningFilter/GccWarningFilter.hs

Advertisements
This entry was posted in Computer and Internet, Programming and Algorithm and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s