📄 changed.cgi.svn-base
字号:
#!/bin/sh# $Id$set -fecho Content-type: text/htmlechocat <<\END<HTML><HEAD><TITLE>What's Changed?</TITLE></HEAD><BODY><H1>What's Changed?</H1>ENDcd ../pkgver=`pwd`; ver=`basename $ver`suffix=`echo $ver|tr -d .`files=`find . -type f -newer /ftp/pub/packages/cii/cii$suffix.tar.gz -print | sed -e '/\.mk/d' -e 's/\.\///g'`if [ -n "$files" ]; then cat <<End<P>The files below have been updated since the $ver release.To update your installation,copy these files to the corresponding locations in your CII $ver directoryhierarchy and rebuild the CII library and sample programs.</P>End echo '<TABLE BORDER="0" CELLPADDING="0">' for f in `ls -t $files`; do /usr/ucb/echo -n '<TR>' ls -l $f|nawk ' { printf "<TD>%s %s %s</TD><TD> </TD><TD><A HREF=\"../pkg/'$f'\">", $6, $7, $8 }' case $f in *.html) nawk '/<title>/ { i=match($0, /<title>.*<\/title>/) if (i>0) { printf "%s", substr($0, i+7, RLENGTH-15); exit } else printf "'`basename $f`'" }' $f ;; *) /usr/ucb/echo -n $f esac echo '</A></TD></TR>' done echo "</TABLE>"else echo "<P>Nothing has changed since the $ver release</P>"fiecho "<HR><ADDRESS><SMALL>"`date`"</SMALL><ADDRESS>"echo "</BODY></HTML>"exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -