Skip to content

Commit

Permalink
Use builtin arithmetic expansion feature to replace external expr com…
Browse files Browse the repository at this point in the history
…mand to triger tst.sh in parallel ASAP
  • Loading branch information
lipzhu authored and gstrauss committed Feb 7, 2023
1 parent fb4521c commit 6705203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnixBench/pgms/multi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ID="@(#)multi.sh:3.4 -- 5/15/91 19:30:24";
instance=1
while [ $instance -le $1 ]; do
/bin/sh "$UB_BINDIR/tst.sh" &
instance=`expr $instance + 1`
instance=$(($instance + 1))
done
wait

0 comments on commit 6705203

Please sign in to comment.