Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 04 September 2002 6:49 pm, Angus Leeming wrote: | | > Would you like me to run this little shell script over LyX's .[Ch] files? | > | > #! /bin/sh | > | > for FILE in $* | > do | > DIR=`dirname ${FILE}` | > BASE=`basename $1` | > TMP=${DIR}/${BASE}.tmp | > sed -e '/the LyX Team/d' \ | > -e '/\\author/s/\(.*\), \(.*\)/\1/' \ | > -e '/\\author/s/\(.*\) <\(.*\)>/\1/' \ | > < ${FILE} > ${TMP} | > cmp -s ${FILE} ${TMP} | > if [ $? -eq 1 ]; then | > diff -u ${FILE} ${TMP} | > mv -i ${TMP} ${FILE} | > fi | > rm -f ${TMP} | > done | | Doing so results in the following headers to the files in src/graphics | (attached). Is this what you're looking for?
Yes, something like that. -- Lgb