search for: opt_i

Displaying 1 result from an estimated 1 matches for "opt_i".

Did you mean: opt_
2011 Dec 20
3
ssh-copy-id -p port option
...GET_ID="$GET_ID ssh-add -L" - fi +while [ $# -gt 0 ]; do + case "$1" in + -i) + shift + # remains last argument or next argument is another option + if [ -z "$2" ] || expr "$1" : "^--\?[a-z]*\$" > /dev/null ; then + OPT_I="$ID_FILE" + continue; + fi + OPT_I="$1" + if expr "$1" : ".*\.pub" > /dev/null ; then + ID_FILE="$1" + else + ID_FILE="$1.pub" + fi + shift + continue + ;; + -p) + sh...