Advertisement
IsraelTorres

btemplate.sh

Mar 6th, 2012
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement