lstsoftlinks
上传用户:s81996212
上传日期:2007-01-04
资源大小:722k
文件大小:0k
- #!/bin/sh
- # $Id: lstsoftlinks,v 1.1 2000/03/07 07:06:38 mrsam Exp $
- #
- # Copyright 1998 - 1999 Double Precision, Inc. See COPYING for
- # distribution information.
- for f in $*
- do
- SOFTLINK=""
- for component in `echo $f | tr '-' ' '`
- do
- if test "$SOFTLINK" = ""
- then
- SOFTLINK="$component"
- else
- SOFTLINK="$SOFTLINK""-$component"
- fi
- if test -f $SOFTLINK/LANGUAGE
- then
- test `cat $SOFTLINK/LANGUAGE` = $SOFTLINK && continue
- fi
- echo $SOFTLINK
- done
- done