Commit 33243976 authored by ch's avatar ch
Browse files

increasing speed

parent 8d203894
......@@ -76,6 +76,8 @@
# -------------------------------------------------------------------------- #
# REPLACE PD WITH PD AND A RANDOM SPEED
COUNT=1
for PD in `grep -n PD $HPGL`
do
......@@ -83,10 +85,13 @@
echo $LINENUMBER
VS=$((RANDOM%41+1))
VS=$COUNT
echo $VS
sed -i "${LINENUMBER}s/PD/&;VS${VS}/g" $HPGL
COUNT=`expr $COUNT + 2`
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment