Skip to content

Instantly share code, notes, and snippets.

@s-leroux
Last active November 18, 2016 09:52
Show Gist options
  • Save s-leroux/fca68403a752870590e70c39c9c5cf5c to your computer and use it in GitHub Desktop.
Save s-leroux/fca68403a752870590e70c39c9c5cf5c to your computer and use it in GitHub Desktop.
#!/bin/bash
echo '1 2 3' > sample.data
cut -d' ' -f1,3 sample.data | read X Z
echo $((X+Z))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment