;;
X-b*)
BACKIT=true
- BACKUP=`expr "$1" : '-b\(.*\)'`
+ BACKUP="`echo \"$1\" | sed 's/^..//'`"
;;
X-c)
# backwards compatibility
shift
;;
X-g*)
- GROUP=`expr "$1" : '-g\(.*\)'`
+ GROUP="`echo \"$1\" | sed 's/^..//'`"
CHGROUPIT=true
;;
X-G)
;;
X-G*)
if ${ROOT} ; then
- GROUP=`expr "$1" : '-g\(.*\)'`
+ GROUP="`echo \"$1\" | sed 's/^..//'`"
CHGROUPIT=true
fi
;;
shift
;;
X-m*)
- MODE=`expr "$1" : '-m\(.*\)'`
+ MODE="`echo \"$1\" | sed 's/^..//'`"
CHMODIT=true
;;
X-M)
shift
;;
X-M*)
- MODE=`expr "$1" : '-m\(.*\)'`
+ MODE="`echo \"$1\" | sed 's/^..//'`"
${ROOT} && CHMODIT=true
;;
X-n)
shift
;;
X-o*)
- OWNER=`expr "$1" : '-o\(.*\)'`
+ OWNER="`echo \"$1\" | sed 's/^..//'`"
CHOWNIT=true
;;
X-O)
;;
X-O*)
if ${ROOT} ; then
- OWNER=`expr "$1" : '-o\(.*\)'`
+ OWNER="`echo \"$1\" | sed 's/^..//'`"
CHOWNIT=true
fi
;;