Introduction
Introduction Statistics Contact Development Disclaimer Help
replace jot(1) with os independent shell code - scroll - scrollbackbuffer progr…
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit fe9ce22d65c5e0effefc1f005c2cb4d860abb13e
parent baaf9c0bb7db5e59ffb4f08e2f4383b29dd5a52e
Author: Jan Klemkow <[email protected]>
Date: Sat, 25 Apr 2020 21:15:04 +0200
replace jot(1) with os independent shell code
Diffstat:
M up.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/up.sh b/up.sh
@@ -3,7 +3,11 @@
set -eu
export POSIXLY_CORRECT=1
-jot 50 > tmp.log
+i=1
+while test $i -lt 50; do
+ print $i
+ i=$((i + 1))
+done > tmp.log
(sleep 1; printf "\033[5;2~"; sleep 1; ) \
| ./ptty ./scroll tail -fn 50 tmp.log > out.log
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.