deno.land / x / sheetjs@v0.18.3 / misc / spin.sh

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash# spin.sh -- show a spinner (for coverage test)# Copyright (C) 2014-present SheetJS
wpid=$1delay=1str="|/-\\"while [ $(ps -a|awk '$1=='$wpid' {print $1}') ]; do t=${str#?} printf " [%c]" "$str" str=$t${str%"$t"} sleep $delay printf "\b\b\b\b"done
sheetjs
📗 SheetJS Community Edition -- Spreadsheet Data Toolkit
GitHub RepositorySheetJS/sheetjs
GitHub Stars
32133

Version Info

Tagged at
11 months ago