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