- 帖子
- 1023
- 积分
- 3120
- 技术
- 230
- 捐助
- 160
- 注册时间
- 2010-12-22
|
[文本处理] onigsed - 支持 Oniguruma (ver. 2.5.0) 和 Perl 5 正则表达式的 sed (4.1.5)
E:\我的文档\桌面\onigsed-20091031>onigsed.exe --version
GNU sed version 4.1.5 with Oniguruma (ver. 2.5.0)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.
Modified for Win32 Japanese by hogemuta@gmail.com
Build date Sep 29 2009
E:\我的文档\桌面\onigsed-20091031>onigsed.exe
Usage: onigsed.exe [OPTION]... {script-only-if-no-other-script} [input-file]...
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-R, --regexp-perl
use Perl 5's regular expressions syntax in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
--help display this help and exit
--version output version information and exit
--ctype=ASCII set encoding as ASCII
--ctype=SJIS set encoding as Shift-JIS(default)
--ctype=EUC set encoding as EUC-JP
--ctype=UTF8 set encoding as UTF-8
If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
7specified, then the standard input is read.
E-mail bug reports to: bonzini@gnu.org .
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
Modified for Win32 Japanese by hogemuta@gmail.com
Build date is Sep 29 2009
E:\我的文档\桌面\onigsed-20091031>
-----------------------------------------
官网: http://www.kt.rim.or.jp/~kbk/sed/
-----------------------------------------
onigsed-20091031.zip
http://pan.baidu.com/share/link?shareid=275485028&uk=1124163200 |
|