Displaying 1 result from an estimated 1 matches for "get_unique".
2002 Jun 17
1
overzealous help-links.sh script! (PR#1682)
...;1
fi
done
for f in ${R_HOME}/doc/html/search/*; do
# RJVB
if [ -f $f -a ! -e ${USER_R_HOME}/doc/html/search/${f} ] ;then
ln -s ${f} ${USER_R_HOME}/doc/html/search 1>/dev/null 2>1
fi
done
rm -f ${PKGLIST}
rm -f ${SEARCHINDEX}
cp ${R_HOME}/doc/html/packages-head.html ${PKGLIST}
get_unique () {
if test -r ${1}; then
x="1"
while test -r ${1}.${x}; do
x=`echo "$x+1" | bc`
done
echo ${1}.${x}
else
echo $1
fi
}
for lib in $*; do
echo "<p><h3>Packages in ${lib}</h3>" >> ${PKGLIST}
echo "&l...