Re^2: Unix deficiencies/problems

Guangliang He ghe at nucthy.physics.orst.edu
Tue May 9 13:37:08 AEST 1989


In article <810049 at hpsemc.HP.COM> gph at hpsemc.HP.COM (Paul Houtz) writes:
=chris at mimsy.UUCP (Chris Torek) writes:
=
=>In article <19472 at adm.BRL.MIL> Kemp at 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 at PHYSICS.ORST.EDU
          Department of Physics    |            ghe at jacobs.CS.ORST.EDU
          Oregon State University  |  BITNET:   hegl at orstvm.bitnet
          Corvallis, OR 97331      |  PHONE:    (503) 754-4631
                                   |
-----------------------------------------------------------------------



More information about the Comp.unix.questions mailing list