Skip to content

Instantly share code, notes, and snippets.

@natevw
Created December 10, 2013 03:02
Show Gist options
  • Save natevw/7885121 to your computer and use it in GitHub Desktop.
Save natevw/7885121 to your computer and use it in GitHub Desktop.
extract timestamp/waterTemp aka random notes on (horrible) shell-scripting that (halfway) worked
cat /media/data_usb/logging/greenhouse.log | strings | sed -r 's/^([^ ]+).*waterTemp=([0-9]+).*$/\1 \2/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment