Spark
github.com
Spark
1–10 of 100 posts
Re: Spark
#2Re: Spark
#3For starters, it won't work in dash (Debian and Ubuntu /bin/sh implementation). So the shebang line should be changed to #!/bin/bash (not sure if it would work in Zsh either).
Re: Spark
#4Re: Spark
#5The script is not a proper POSIX bourne shell script, as it uses arrays. For starters, it won't work in dash (Debian and Ubuntu /bin/sh implementation). So the shebang line should be changed to #!/bin/bash (not sure if it would work in Zsh either).
Re: Spark
#6Re: Spark
#7Edit: U+2588 seems like an obvious candidate as well.
Re: Spark
#8 [scotty@Scotty-Allens-MacBook-Air ~/bin]$ spark 1,2,3,4,5
▇\c
▇\c
▇\c
▇\c
▇\c
I suspect this has something to do with my terminal settings, but I'm not sure quite what...Nifty idea, regardless.
Re: Spark
#9Hmm, I get the following: [scotty@Scotty-Allens-MacBook-Air ~/bin]$ spark 1,2,3,4,5 ▇\c ▇\c ▇\c ▇\c ▇\c I suspect this has something to do with my terminal settings, but I'm not sure quite what... Nifty idea, regardless.
echo -e $"$(print_tick $number)\c"
And it should work fine.Re: Spark
#10Hmm, I get the following: [scotty@Scotty-Allens-MacBook-Air ~/bin]$ spark 1,2,3,4,5 ▇\c ▇\c ▇\c ▇\c ▇\c I suspect this has something to do with my terminal settings, but I'm not sure quite what... Nifty idea, regardless.