stonks/readprice
HeshamTB 4702263d0a initial commit:
- Basic tools. getinfo: curl from 'mubasher' as raw numbers
	readprice: read last price from raw info
	readdelta: read day's change in price
	stonks: still empty (interface)
	- Version 0.1-alpha
	- gitignore: raw/ folder

Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-08-19 22:16:30 +03:00

7 lines
87 B
Bash
Executable File

#!/bin/bash
#read last price from raw info file
cat raw/$1 | head -n-12 | tail -n+3