diff --git a/usr/bin/pop b/usr/bin/pop index d90db68..95bf4a8 100755 --- a/usr/bin/pop +++ b/usr/bin/pop @@ -1,11 +1,12 @@ #!/usr/bin/bash + if [ "$#" -lt 1 ] ; then echo "Usage: $0 arg1 [arg2] [arg3]" exit 1 fi -for DIR in "#@" ; do +for DIR in "$@" ; do cp -r $DIR/* . cp -r $DIR/.* . mv $DIR /tmp