Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!midway!msuinfo!convex.cl.msu.edu!jap From: jap@convex.cl.msu.edu (Joe Porkka) Newsgroups: comp.sys.amiga.programmer Subject: Re: WANTED: ""/filename == ./filename Message-ID: <1991Jan30.192631.15514@msuinfo.cl.msu.edu> Date: 30 Jan 91 19:26:31 GMT References: <2701@wn1.sci.kun.nl> Sender: news@msuinfo.cl.msu.edu Distribution: comp Organization: Michigan State University Lines: 17 rhialto@cs.kun.nl (Olaf 'Rhialto' Seibert) writes: >In article vinsci@nic.funet.fi (Leonard Norrgard) writes: >>As you might have observed, the Amiga notation for the current >>directory, "", doesn't denote the current directory anymore if you >>append a filename. Strange and weird. I want ""/filename to match >>./filename on unix systems. I'll go for any hack adding this. >>Looks like a thing that could be useful in sksh as well... >> Anybody have a solution? >I am afraid that there is no real solution without introducing some new >name that is equivalent to "". This is because the name of the current >directory is not ``quote-quote'', but ``'', the empty name. So if you >append ``/filename'' to the empty string, the result is again ``/filename''. Of course, under 2.x you can use MakeLink . "" and MakeLink .. / to get your . and .. to work.