From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1044c2,fb87ccfc9e8baf0a X-Google-Attributes: gid1044c2,public X-Google-Thread: 1103af,fb87ccfc9e8baf0a X-Google-Attributes: gid1103af,public X-Google-Thread: f66ab,fb87ccfc9e8baf0a X-Google-Attributes: gidf66ab,public X-Google-Thread: f71eb,fb87ccfc9e8baf0a X-Google-Attributes: gidf71eb,public X-Google-Thread: f678f,fb87ccfc9e8baf0a X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1995-01-19 17:45:54 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!uwvax!uchinews!vixen.cso.uiuc.edu!howland.reston.ans.net!gatech!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!mib From: mib@churchy.gnu.ai.mit.edu (Michael I Bushnell) Newsgroups: comp.os.linux.misc,comp.os.os2.misc,comp.unix.osf.misc,comp.os.msdos.misc,comp.os.mach Subject: Re: The big Question Date: 20 Jan 1995 01:45:54 GMT Organization: Free Software Foundation, Cambridge, MA Message-ID: References: <3dpmo9$6fh@calvin.st-and.ac.uk> <3es3cs$7at@portal.gmu.edu> <3flv4r$k22@m1.cs.man.ac.uk> NNTP-Posting-Host: churchy.gnu.ai.mit.edu In-reply-to: fellowsd@cs.man.ac.uk's message of 19 Jan 1995 15:06:03 GMT Xref: nntp.gmd.de comp.os.linux.misc:38487 comp.os.os2.misc:128194 comp.unix.osf.misc:2353 comp.os.msdos.misc:29037 comp.os.mach:3534 In article <3flv4r$k22@m1.cs.man.ac.uk> fellowsd@cs.man.ac.uk (Donal K. Fellows) writes: The one thing I like about DOS that isn't available as such under UNIX is the ability to create programs that can't be displayed using DIR (unless you give an extra command line option), and yet which don't have to be mentioned in the path since you have to change to the right directory to use them. I can supply examples of this sort of thing (namely, my great compressing/uncompressing \GAMES directory scheme :) to anyone who is really interested. How is this different from: mkdir d cp prog1 d/.prog1 cp prog2 d/.prog2 After all, these files (.prog1 and .prog2) aren't listed by `ls' unless you give a special option (`-a'); and "they don't have to be added to your path, because you have to be in the right directory." (That latter sounds like a restriction, not a feature; I can't figure out how it's *good*.) Anyway, in Unix you can do things like what gzip's `gzexe' does. It turns an executable into a shell script that skips the first N lines, runs the rest through gunzip, and then executes it. This works cleanly because of Unix's `#!' execution feature. You can't do this in DOS. (Of course, in GNU, you can just gzip the executable normally without any further ado, because the execserver knows how to uncompress itself. Can't do that in DOS either.) -mib -- Michael I. Bushnell | +1 617 253 8568 -+- mib@gnu.ai.mit.edu | |