🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3053

Re: Wildcards

#3053
From: Darren New
Date: Fri, 23 Mar 1990 18:16
17 lines
1333 bytes
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
Technical Details
Message-ID: <14802@nigel.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!uflorida!mephisto!udel!new
References: <102618@linus.UUCP> <3138@draken.nada.kth.se> <7002@cps3xx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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