IsraelTorres

btemplate.sh

Mar 6th, 2012
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. :<<israeltorres_comment_block
  3.  
  4.  ./btemplate.sh
  5.  Israel Torres
  6.  -date
  7.  -info here
  8.  
  9.  Mac OS X 10.7.3 11D50b
  10.  Darwin Kernel Version 11.3.0
  11.  GNU bash, version 3.2.48(1)-release
  12.  
  13. israeltorres_comment_block
  14.  
  15. #required app check
  16. rqdapp='app_name_here'
  17. hash $rqdapp 2>&- || { echo >&2 "$rqdapp binary not found - aborting"; exit 1; }
  18. #
  19.  
  20. if [ ! $# -lt 1 ]; then
  21.  
  22.     echo "script ran"
  23.  
  24. else
  25.     echo "usage: $0 'string'"
  26.     echo "example: $0 string"
  27. fi
  28. #eof
RAW Paste Data