Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!orstcs!nucthy!ghe From: ghe@nucthy.physics.orst.edu (Guangliang He) Newsgroups: comp.unix.questions Subject: Re: Re^2: Unix deficiencies/problems Message-ID: <10471@orstcs.CS.ORST.EDU> Date: 9 May 89 03:37:08 GMT References: <810038@hpsemc.HP.COM> <810049@hpsemc.HP.COM> Sender: usenet@orstcs.CS.ORST.EDU Reply-To: ghe@nucthy.PHYSICS.ORST.EDU (Guangliang He) Organization: Dept. of Physics, Oregon State University Lines: 43 In article <810049@hpsemc.HP.COM> gph@hpsemc.HP.COM (Paul Houtz) writes: =chris@mimsy.UUCP (Chris Torek) writes: = =>In article <19472@adm.BRL.MIL> Kemp@DOCKMASTER.NCSC.MIL writes: =>[more `Unix is deficient' blather] =>-Say there are a few of my friends' directories and files that are of =>-general interest: =>- =>- /home/orion/jsmith/projectA/speech =>- /home/magellan/tjones/lib/splib.a =>- =>-With logical names, I could define the first as "joe" and the second as =>-"splib", and do things like: =>- =>- cd joe =>- ls joe =>- ar t splib =>- cc myprog -lsplib = =Now Torek says just do this: = =>$ joe=/home/orion/jsmith/projectA/speech =>$ splib=/home/magellan/tjones/lib/splib.a =>$ cd $joe =>$ ls $joe =>$ ar t $splib =>$ cc args -l$splib = = Okay, now I run my program that refers directly to 'speech' in an =OPEN statement. OOOPS! wrong directory. Ok, put the line joe=/home/orion/jsmith/projectA/speech on the begining of your program, problem solved!!! ----------------------------------------------------------------------- | USMAIL: Guangliang He | INTERNET: ghe@PHYSICS.ORST.EDU Department of Physics | ghe@jacobs.CS.ORST.EDU Oregon State University | BITNET: hegl@orstvm.bitnet Corvallis, OR 97331 | PHONE: (503) 754-4631 | -----------------------------------------------------------------------