From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,32c594a83e2d8db X-Google-Attributes: gidf7344,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-Thread: 111308,32c594a83e2d8db X-Google-Attributes: gid111308,public X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-10-07 16:23:03 PST Xref: gmd.de comp.client-server:1447 comp.os.vms:32107 comp.sys.dec:10653 comp.sys.hp:25815 Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!decwrl!pa.dec.com!crl.dec.com!utne.zk3.dec.com!utne!strange From: strange@zk3.dec.com (Steve Strange) Newsgroups: comp.client-server,comp.os.vms,comp.sys.dec,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Date: 07 Oct 1993 19:45:04 GMT Organization: Digital Equipment Corp. Message-ID: References: <1993Sep23.161016.12926@vms.eurokom.ie> <1993Oct6.175645.12964@vms.eurokom.ie> NNTP-Posting-Host: squeeze.zk3.dec.com In-reply-to: pawlak@zeubac.desy.de's message of Thu, 7 Oct 1993 20:28:53 GMT In article pawlak@zeubac.desy.de (Jerzy Michal Pawlak) writes: > OK, so now, that we agreed that it is always -d can anybody tell me > WHY do I have to add -d to get the information I need? After all, ls > gives me information about a file and a directory is a file? Don't you > think it's a little inconsistent? Demanding that for some files you add > -d and for others not? I can tell you why. Because it is much more often the case that you want to look at the files *in* a directory than at the directory itself (at least *I* find this to be the case). In VMS, you have to specify the brackets and the dot to do what is the common case rather than the special case. Similarly, to copy a file into a directory, you just specify the directory name as the target. If the target directory doesn't exist, you don't get an error -- you just end up copying the file to a new filename in the current directory. I found these things annoying and non-intuitive when I started using Unix (I used VMS for a few years before I was exposed to Unix). But now that I'm used to them, they make a lot of sense, and allow me to type commands a lot faster. So, I've used both VMS and U*ix, and I prefer U*ix. I also like Macintoshes more than PCs. To each his own I guess. Steve -- Steve Strange Digital Equipment Corporation, Nashua, NH DEC OSF/1 File System Development strange@zk3.dec.com