Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!uwvax!uwmacc!uwmcsd1!ig!jade!ucbcad!ames!oliveb!sun!gorodish!guy From: guy%gorodish@Sun.COM (Guy Harris) Newsgroups: comp.unix.wizards Subject: Re: /bin/test and stat(2) Message-ID: <31903@sun.uucp> Date: Sat, 24-Oct-87 22:57:42 EST Article-I.D.: sun.31903 Posted: Sat Oct 24 22:57:42 1987 Date-Received: Tue, 27-Oct-87 01:30:51 EST References: <9767@brl-adm.ARPA> <231@olgb1.oliv.co.uk> Sender: news@sun.uucp Lines: 11 > I don't pretend to know the original reason (if any) for having two ways > to refer to the current directory, but it certainly makes life easier for > the users. Consider the "ls" command - it's easier to type "ls" than "ls ." > every time. None of this has anything whatsoever to do with "" being a name for the current directory; UNIX versions of "ls" (or, at least, the 4.3BSD and S5R3 versions of "ls") treat "ls" by itself as equivalent to 'ls .', not 'ls ""'. Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com