Initial commit of utility scripts
This commit is contained in:
parent
ac77586a15
commit
1faeefffd7
34 changed files with 1328 additions and 1 deletions
10
bin/bar_bit.sh
Executable file
10
bin/bar_bit.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
#price=$(curl rate.sx/1btc | cut -d '.' -f 1)
|
||||
price=$(coinmon -f BTC | tail -n2 | head -n1 | cut -d ' ' -f 10 | cut -d '.' -f1)
|
||||
|
||||
echo "฿ $price"
|
||||
|
||||
# Check to see if it's a number
|
||||
#re='^[0-9]+$'
|
||||
#if [[ $price =~ $re ]] ; then
|
||||
#fi
|
Loading…
Add table
Add a link
Reference in a new issue