2 # $OpenBSD: scp-ssh-wrapper.sh,v 1.3 2014/01/26 10:49:17 djm Exp $
3 # Placed in the Public Domain.
11 while [ $# -ge 1 ] ; do
12 if [ "x$1" != "x" ]; then
19 # Discard all but last argument. We use arg later.
20 while test "x$1" != "x"; do
25 BAD="../../../../../../../../../../../../../${DIR}/dotpathdir"
27 case "$SCPTESTMODE" in
29 echo "D0755 0 /${DIR}/rootpathdir"
30 echo "C755 2 rootpathfile"