added 'abort' & QSE_AWK_ABORT to awk.

added a new sed command 'C' that resembles the cut utility
dropped the cut utility.
added qse_str_nrcat()/qse_mbs_nrcat()/qse_wcs_nrcat()
This commit is contained in:
2012-08-19 14:20:19 +00:00
parent 006dd8975f
commit 6421da99f4
31 changed files with 159 additions and 2822 deletions

View File

@ -121,3 +121,10 @@ echo -n "done${CRE}"
if [ -n "$FROMINIT" ];then
cp -af /image/* /ramdisk/cdrom/
fi
--------------------------------------------------------------------------------
[CMD] qsesed -f s009.sed s009.dat </dev/stdin 2>&1
--------------------------------------------------------------------------------
0;root;/root;/bin/bash
1;daemon;/usr/sbin;/bin/sh
2;bin;/bin;/bin/sh
3;sys;/dev;/bin/sh

View File

@ -121,3 +121,10 @@ echo -n "done${CRE}"
if [ -n "$FROMINIT" ];then
cp -af /image/* /ramdisk/cdrom/
fi
--------------------------------------------------------------------------------
[CMD] qsesed -m 500000 -f s009.sed s009.dat </dev/stdin 2>&1
--------------------------------------------------------------------------------
0;root;/root;/bin/bash
1;daemon;/usr/sbin;/bin/sh
2;bin;/bin;/bin/sh
3;sys;/dev;/bin/sh

View File

@ -64,6 +64,7 @@ PROGS="
s006.sed/s006.dat//
s007.sed/s007.dat//
s008.sed/s008.dat//-w
s009.sed/s009.dat//
"
[ -x "${QSESED}" ] ||

5
qse/regress/sed/s009.dat Normal file
View File

@ -0,0 +1,5 @@
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
#######################################
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh

1
qse/regress/sed/s009.sed Normal file
View File

@ -0,0 +1 @@
C|d:,D;,f3,1,f6-7|d