Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #! /bin/sh
  2.  
  3. options_dir=$HOME/dev/apps/options
  4.  
  5. data () {
  6. paste -d ',' ../^RUA/Daily.dat ../^GSPC/Daily.dat ../^DJI/Daily.dat Daily.dat \
  7. | tail -n +2 \
  8. | tac \
  9. | tr -d -- - \
  10. | awk -F, -f "$options_dir/chart.awk"
  11. }
  12.  
  13. config () {
  14. sed 's/^/!/g' "$options_dir/config.plot"
  15. }
  16.  
  17. config
  18. data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement