Path: utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!uflorida!mephisto!udel!new From: new@udel.edu (Darren New) Newsgroups: comp.sys.amiga.tech Subject: Re: Wildcards Message-ID: <14802@nigel.udel.EDU> Date: 23 Mar 90 18:16:54 GMT References: <102618@linus.UUCP> <3138@draken.nada.kth.se> <7002@cps3xx.UUCP> Sender: usenet@udel.EDU Reply-To: new@udel.edu (Darren New) Organization: University of Delaware Lines: 17 In article <7002@cps3xx.UUCP> dailey@cpsin2.UUCP (Chris Dailey) writes: >For example, "copy file" to copy a file to the current directory. Or is >there already some way of doing this? Yes, you can do this already. Even in 1.2, the empty string meant the current directory, so you could always Lock("", ACCESS___). However, the copy command in 1.2 would not special-case it, so if you said copy file "" then copy would see that "" is a directory, tack on "/file" and copy it, leaving you in the parent dir. Under 1.3, copy seems to special-case the empty string, so copy file "" will copy the file to the current directory. I would have thought TriPos, as a Ph.D. dissertation(sp?), would have been careful to make the semantics match the syntax. I once worked out a real nice scheme for this, but I've never gotten around to writing a filesystem :-) -- Darren