Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!ucsdhub!sdcsvax!ucsd!ames!xanth!cs.odu.edu!tadguy From: tadguy@cs.odu.edu (Tad Guy) Newsgroups: comp.unix.questions Subject: Re: the file with the empty name "" (was: csh core dumping) Summary: ls sorts it output, use -f to see directory order... Message-ID: <6936@xanth.cs.odu.edu> Date: 23 Dec 88 23:08:51 GMT References: <2294@bucsb.UUCP> <659@sbsvax.UUCP> <1847@piraat.cs.vu.nl> Sender: news@xanth.cs.odu.edu Reply-To: tadguy@cs.odu.edu (Tad Guy) Organization: Old Dominion University, Norfolk, VA Lines: 22 In-reply-to: maart@cs.vu.nl (Maarten Litmaath) >greim@sbsvax.UUCP (Michael Greim) writes: >\... When you issue an >\open or exec with an empty string, you succeed and get the first file in your >\current directory, which almost certainly is '.', the directory itself. In article <1847@piraat.cs.vu.nl>, maart@cs (Maarten Litmaath) writes: >The file `-csh' is a symbolic link to /bin/csh. > % ls -a | head -3 > -csh > . > .. This is misleading. Unless told otherwise, ls sorts its output. You should use ``ls -f'' to see the true directory order: % ls -f . .. -csh (maybe...) -- Tad Guy Old Dominion University, Norfolk, VA