Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ $# -lt 2 ]; then
- echo "Usage: $0 fieldname pbservice.stdout"
- echo "Returns the value associated with fieldname in stdout."
- exit 1
- fi
- grep $1 $2 | tr -s ' ' | cut -d' ' -f3
Add Comment
Please, Sign In to add comment