Article View: comp.sys.amiga.tech
Article #558Re: What is my name?
From: Mike (I'll think of something ye...
Date: Sat, 22 Jul 1989 01:01
Date: Sat, 22 Jul 1989 01:01
19 lines
1514 bytes
1514 bytes
In article <1114@sas.UUCP> toebes@sas.UUCP (John Toebes) writes: <One thing that seems to be forgotten in this discussion is that it is <entirely possible that a commands has no 'inherant' path. No, that's not forgotten. I've been assuming that if there isn't a file in the file system from which the binary came, you have to give up. Nothing else to do, and no way around it. It's also pretty obvious that checking the search path for a file that matches your name may not return the right name. But that approximation is better than nothing. Especially when I want it to replace similar code for Unix in a port :-). <mike -- [Our regularly scheduled .signature preempted.] Mike Meyer The Amiga 1000: Let's build _the_ hackers machine. mwm@berkeley.edu The Amiga 500: Let's build one as cheaply as possible! ucbvax!mwm The Amiga 2000: Let's build one inside an IBM PC! mwm@ucbjade.BITNET
Technical Details
Message-ID:
<26580@agate.BERKELEY.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!bionet!agate!eris.berkeley.edu!mwmReferences:
<26385@agate.BERKELEY.EDU> <20565@cup.portal.com> <1227@atanasoff.cs.iastate.edu> <26459@agate.BERKELEY.EDU> <1114@sas.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!bionet!agate!eris.berkeley.edu!mwm From: mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) Newsgroups: comp.sys.amiga.tech Subject: Re: What is my name? Message-ID: <26580@agate.BERKELEY.EDU> Date: 22 Jul 89 01:01:59 GMT References: <26385@agate.BERKELEY.EDU> <20565@cup.portal.com> <1227@atanasoff.cs.iastate.edu> <26459@agate.BERKELEY.EDU> <1114@sas.UUCP> Sender: usenet@agate.BERKELEY.EDU Reply-To: mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) Organization: Missionaria Phonibalonica Lines: 19