scroll

scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log | Files | Refs | README

commit b539656abde01eaf06fb7c427aae35546c233a08
parent 0e11225a775979a1c42c9b7881f250e2a0092c13
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date:   Sun,  3 May 2020 22:43:17 +0200

perf: replace jot by $seq and set posix var for getopt(3)

Diffstat:
Mperf.sh | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/perf.sh b/perf.sh @@ -2,6 +2,7 @@ set -eu +export POSIXLY_CORRECT=1 num=1000000 seq=seq @@ -12,17 +13,17 @@ fi rm -f perf_*.log for i in `$seq 10`; do - /usr/bin/time st -e jot $num 2>>perf_0.log + /usr/bin/time st -e $seq $num 2>>perf_0.log done for i in `$seq 10`; do - /usr/bin/time st -e ./ptty jot $num 2>>perf_1.log + /usr/bin/time st -e ./ptty $seq $num 2>>perf_1.log done for i in `$seq 10`; do - /usr/bin/time st -e ./ptty ./ptty jot $num 2>>perf_2.log + /usr/bin/time st -e ./ptty ./ptty $seq $num 2>>perf_2.log done for i in `$seq 10`; do - /usr/bin/time st -e ./ptty ./ptty ./ptty jot $num 2>>perf_3.log + /usr/bin/time st -e ./ptty ./ptty ./ptty $seq $num 2>>perf_3.log done