2 [ -n "$1" -a -n "$2" ] || {
3 echo "Usage: $0 <file> <directory>"
6 [ -f "$1" -a -d "$2" ] || {
7 echo "File/directory not found"
13 [ -n "$entry" ] || break
14 [ -f "$entry" ] && rm -f $entry
20 [ -n "$entry" ] || break
21 [ -d "$entry" ] && rmdir "$entry" > /dev/null 2>&1