'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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user