Subj : help with bash prog and links To : comp.os.linux From : JV Date : Thu Sep 09 2004 09:53 pm sup in trying to make a bash program that can evaluate a symbolic link and act accordingly psuedo code follows if ./lnk = softlink(targ1) { rm ./lnk ln -s ./targ2 ./lnk echo "lnk = targ2" elif ./lnk == softlink(targ2) { rm ./lnk ln -s ./targ1 ./lnk echo "lnk = targ1" fi if anyone can help me with this the lemme know :D BTW not that i think it matters os = FC1 shell = bash v 2.05b.0(1) if this is the wrong NG for this type of question also lemme know later and TIA JV .