From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2002-01-08 16:35:30 PST Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec From: rivie@cougar.no.domain Subject: Re: historical evidence of what went wrong at DEC References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C3B5DBD.217B4B65@aaa.com> <3C3B7DFA.91667AB7@iee.org> Reply-To: ivie@cc.usu.edu Message-ID: User-Agent: slrn/0.9.7.1 (NetBSD) Cache-Post-Path: hoth!unknown@208.186.13.136 X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) NNTP-Posting-Host: 208.186.8.4 Date: 8 Jan 2002 18:22:25 -0600 X-Trace: corp.newsgroups.com 1010535745 208.186.8.4 (8 Jan 2002 18:22:25 -0600) X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Organization: Newsfeeds.com http://www.newsfeeds.com 80,000+ UNCENSORED Newsgroups. Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!corp.newsgroups.com Xref: archiver1.google.com comp.os.vms:59244 alt.sys.pdp10:9308 comp.sys.dec:11233 In article , JD wrote: > > "a.carlini" wrote in message: >> >> I thin khe meant given the command line: >> foo -t wibble wobble >> exactly what is (are) the filename(s) if any? >> > Using the standard argument mechanism, the '-t' is a switch. Sure, but maybe what I typed was "foo *". Or, perhaps, what happened is that I bought a new disk and want to move all the files from my home directory to it. "cp -R -p ~/*" doesn't work because it doesn't get files and directories starting with '.'. Following that up with "cp -R -p ~/.*" doesn't work, because it starts walking down "./.." and trying to pick everything up. And I do have a directory starting with '.' because I've been using links which helpfully stores bookmarks and stuff in a directory named '~/.links'. There is, of course, "tar cvf - ~ | tar xvpf -" which A) doesn't use '-' for its options (hello!) and 2) when it uses '-' it's not for an option! Were I running VMS on this particular machine, I could have simply MOUNT/BINDed the new disk to the existing user disk and made use of the extra space. > The syntax/semantics of SHELL expansion is very consistant. What programs > do with it can be wierd or not. Perhaps, but whether "foo *" gets me in trouble depends on the filenames I have lying around, not on the shell expansion per se. Which means I have to keep track of an invisible mode (do I have a file starting with '-' in this directory?) before I can reasonably do stuff. Or I have to train myself to always type "foo ./*". Or, perhaps, I modify the shell so when it expands "*", it expands it as if I had typed "./*". Then at some point I'll probably have trouble like when I was FTPing a bunch of stuff to a VMS machine and "mput *" helpfully generated filenames as if I had typed "mput ./*". Very annoying. > I am surprised that no-one has complained about the > '/' in a filename problem :-). Because usually the guys who write the command language actually talk to the guys writing the filesystem so the filesystem guys know not to allow '/' in a filename to begin with. -- Roger Ivie ivie@cc.usu.edu -----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World! -----== Over 80,000 Newsgroups - 16 Different Servers! =-----