Symbolic links and Bourne shell...
    Jim Burns 
    gt0178a at prism.gatech.EDU
       
    Fri Oct 12 16:09:30 AEST 1990
    
    
  
> In article <1990Sep7.140159.4832 at usenet.ins.cwru.edu> you write:
>>In Bourne shell, how can you find the path pointed to be a symbolic link?
>>In C shell, you can type:
>>	% set linkpath = "`cd $SYMLINK; pwd`"
>>However, in Bourne shell, pwd returns the same value as SYMLINK.  Does anyone
Try:
linkpath=`cd $SYMLINK; /bin/pwd`
-- 
BURNS,JIM
Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a
Internet: gt0178a at prism.gatech.edu
    
    
More information about the Comp.unix.questions
mailing list