daily pastebin goal
10%
SHARE
TWEET

Untitled

a guest Jun 19th, 2016 589 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while [[ $# -gt 0 ]]
  2.     do
  3.         argument="$1"
  4.  
  5.         case $argument in
  6.             -h) userAndHost="$2"; shift 2;;
  7.             -p) remotePort="$2"; shift 2;;
  8.             -*) echo "Unkown argument: \"$argument\""; printUsage; exit 1;;
  9.             *) break;;
  10.         esac
  11.     done
  12.  
  13.     appsDir="$1"
  14.  
  15.     echo userAndHost $userAndHost
  16.     echo remotePort $remotePort
  17.     echo appsDir $appsDir
  18.     echo no-op args: $@
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top