Subject: WHY sh can't cd to ./ To: None <current-users@NetBSD.ORG> From: John F. Woods <jfw@jfwhome.funhouse.com> List: current-users Date: 04/14/1998 10:45:46
It depends on "" being a name for the current directory. Look for the text
"XXX - rethink" in /usr/src/bin/sh/cd.c.
It's more fallout from POSIX' wrong-headed treatment of the pathname "" ...