Path: utzoo!attcan!uunet!lll-winken!xanth!ames!mailrus!sharkey!atanasoff!deimos!cveg!hcx!gmg From: gmg@hcx.uucp (Greg M. Garner) Newsgroups: comp.sys.amiga Subject: arp CD command change??? Keywords: arp, cd, unix Message-ID: <1769@cveg.uucp> Date: 7 Feb 89 00:09:21 GMT Sender: netnews@cveg.uucp Organization: College of Engineering, University of Arkansas, Fayetteville Lines: 35 Would it be possible to make the arp 1.3 CD command recognize the unix directory names .. and . ? I would like to see the cd command go to the parent directory anytime it saw a file name .. I realize that this may seem like a kludge, but it could even check for a real directory called .. before using the parent dir name. Since the arp commands all use the arp.library, it seems to me that all the commands (list, etc) could implement the .. stuff. Some rules that spring to mind are: 1) If .. is specified, see if a .. file for directory exists. If it does not, expand this into the / command. 2) If the path name is specified as ../name, then remove the .. giving the desired action. 3) if the . is specified by itself, then replace this with "" (or whatever is needed to make the dos stay in the same directory). 4) If the path name is specified as ./name, then remove the ./ giving the desired action. Does anyone else like this idea? I really like the way arp works now with the *? wildcards, but I would like to see the above stuff added, If this didn't introduce other problems I haven't thought about. There are two reasons I would like to see this, one being that I am used to doing .. in unix, and two being that some make files from the unix world have the ../name construct embedded in them. What do you think? Greg Garner 501-442-4847 gmg@hcx.uucp USENET: ...!uunet!harris.cis.ksu.edu!hcx!gmg