Re^2: Unix deficiencies/problems
Paul Houtz
gph at hpsemc.HP.COM
Tue May 9 02:55:34 AEST 1989
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.
More information about the Comp.unix.questions
mailing list