dirname

Usage: dirname NAME

Strip non-directory suffix from NAME.

Example:

			$ dirname /tmp/foo
			/tmp
			$ dirname /tmp/foo/
			/tmp