SheetJS
0121708499
- MakeEncoding.cs program pulls from .NET encodings (tested with Windows 7) (outputs stored at dotnet/out and misc/err) - Many new codepages and improvements - coverage + coveralls - better environment handling (h/t @xch89820) - cpexcel.js for the formats recognized by excel - decode endian option removed (implicit from codepage definition) NOTE: utf7 encode can be more space efficient
15 lines
268 B
Bash
Executable File
15 lines
268 B
Bash
Executable File
#!/bin/bash
|
|
# spin.sh -- show a spinner (for coverage test)
|
|
# Copyright (C) 2014 SheetJS
|
|
|
|
wpid=$1
|
|
delay=1
|
|
str="|/-\\"
|
|
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
|