SHARE
TWEET

Untitled

a guest Jun 18th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2019.04.15;3.75;
  2. 2019.04.29;-5.17;
  3. 2019.05.01;7.5;
  4. 2019.05.06;0.5;
  5. 2019.05.13;0.25;
  6. 2019.05.20;-8.5;
  7.      
  8. plus=$(awk -F';' '{print $2};' "$file" |
  9.       grep --invert-match "-" |
  10.       awk '{s+=$1}END{print s}'
  11. )
  12.  
  13. minus=$(awk -F';' '{print $2};' "$file" |
  14.       grep "-" |
  15.       awk '{s+=$1}END{print s}'
  16. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top