wok diff busybox/stuff/httpd_helper.sh @ rev 15969

openssl: up to 1.0.1f + add to ARM arch (almost rewrite receipt)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 24 23:42:48 2014 +0100 (2014-02-24)
parents 6390498a6cd1
children 02c70d036ea0
line diff
     1.1 --- a/busybox/stuff/httpd_helper.sh	Sat Jun 11 17:53:28 2011 +0200
     1.2 +++ b/busybox/stuff/httpd_helper.sh	Mon Feb 24 23:42:48 2014 +0100
     1.3 @@ -122,8 +122,9 @@
     1.4  	n=1
     1.5  	cat > ${post}0
     1.6  	read delim < ${post}0
     1.7 +	delim=${delim%?}
     1.8  	case "$delim" in
     1.9 -	-*)	awk "/${delim%?}/ { o+=index(\$0,\"$delim\")-1; print o }
    1.10 +	-*)	awk "/$delim/ { o+=index(\$0,\"$delim\")-1; print o }
    1.11  	   		  { o+=1+length() }" < ${post}0 | while read offset; do
    1.12  		    if [ $offset -ne 0 ]; then
    1.13  			ddcut $last $offset < ${post}0 > $post$n 2> /dev/null