'Nother patch from Larry to fix a buglet in how the line gets sed-ified.

Also, more testcases and comments on bugs and formatting differences in some
of the testcases.
This commit is contained in:
Mark Whitley
2001-05-24 21:24:39 +00:00
parent fa43e54b6f
commit 0a4f578fdc
2 changed files with 23 additions and 4 deletions

View File

@@ -124,8 +124,8 @@ do
# line=${line//;/; $BUSYBOX }
# line=${line//|/| $BUSYBOX }
# assume $BUSYBOX has no commas
line=`echo $line | sed -e 's,;,; '$BUSYBOX, \
-e 's,|,| '$BUSYBOX,`
line=`echo "$line" | sed -e 's,;,; '$BUSYBOX, \
-e 's, |, | '$BUSYBOX,`
# execute line using busybox programs
[ $DEBUG -ge 2 ] && echo "testing: $line" | tee -a $LOGFILE