Board logo

标题: [文本处理] MiniSed for Windows:体积小巧的 sed [打印本页]

作者: tmplinshi    时间: 2011-1-19 20:14     标题: MiniSed for Windows:体积小巧的 sed

----------------------------------------------
下载: http://pan.baidu.com/share/link?shareid=63763754&uk=1124163200
官网: http://gnuwin32.sourceforge.net/packages/minised.htm
----------------------------------------------

MiniSed is the fast, small sed originally distributed in the GNU toolkit and still distributed with Minix -- but it's still better for some uses (in particular, faster and less memory-intensive).

作者: yhcbird    时间: 2011-1-20 09:16

这个minised和sed有什么区别呢。英文看不懂。。0 0
作者: tmplinshi    时间: 2011-7-22 21:57

本帖最后由 tmplinshi 于 2011-7-22 22:07 编辑

----------------------------------------------
官网: http://lvogel.free.fr/sed.htm
下载: http://lvogel.free.fr/sed/csed-030913.zip
----------------------------------------------

Cheap-sed

Cheap-sed is based on HHsed (1991, by Howard L. Helman and David Kirschbaum), itself based on the small sed written around 1988 by Eric S. Raymond (whose last version was called sed-v1.3).

Here is how the original author described the ancestor of this sed:
This is a smaller, cheaper, faster SED utility. Minix uses it. GNU used to use it, until they built their own sed around an extended (some would say over-extended) regexp package.

I chose to maintain Cheap-sed because I was seduced by its small size, and the clarity of the source code, and impressed by its fast speed when compared especially to GNU sed. However good old sed v1.3 was rather obsolete, and a number of non-standard extensions had been added to HHsed. I decided to start from HHsed, remove all misfeatures and add all what was missing for the best POSIX compliance achievable. I named the result "cheap-sed" from Eric S Raymond's description, because "small-sed" abbreviated to ssed which is also the abbreviation of super-sed, another sed implementation.

Features

Cheap-sed inherited from its ancestors its small size and fast speed, and I strived to add the maximum POSIX compliance on top of that. There are also no more size limitations (well, almost at the current time, ultimately virtually none).

Thanks to these features Cheap-sed is a good sed implementation to run complex and demanding scripts, especially those sed scripts written more for the sake of writing them in sed than for any practical purpose :-). As an example, esoteric sed scripts such as dc.sed or unlambda.sed run between 10 and 60 times faster on cheap-sed than on recent GNU sed.




欢迎光临 批处理之家 (http://bathome.net./) Powered by Discuz! 7.2