SHARE
TWEET

Untitled

a guest Aug 13th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. awk '/Speed:/ {print $3}' screenlog.0
  2.    
  3. pilot6@Pilot6:~$ echo "Total Speed: 118.604 Mh/s, Total Shares: 5...." | awk '/Speed:/ {print $3}'
  4. 118.604
  5.    
  6. ... |tail -n3 | grep -Pzo '(?<=Total Speed: ).*?(?=Mh/s)' infile.txt
  7.    
  8. 118.604
  9. 118.604
  10. 118.604
RAW Paste Data
Top