Print NAME with its trailing /component removed; if NAME contains no /s, output . (meaning the current directory).
Advertisement