On Wednesday 04 September 2002 6:27 pm, Angus Leeming wrote:
> On Wednesday 04 September 2002 6:41 pm, Lars Gullik Bjønnes wrote:
> > | All that is important is that the
> > | authorship is apparent. So our lines
> > |   \author Lars Gullik Bjønnes
> > |   \author Angus Leeming
> > | are sufficient statements of copyright.
> >
> > Yes, but that information is missing now, so WE do not really know.
>
> Not really. We have cvs. Could you not write a script to interrogate all
> submissions to a file? If more than 10 lines, then you're an author.
>
> > For the sake of copyright per se, you do not even have to add your
> > name as author to have full legal support for your copyright.
> >
> > | We do have legal gurus out there however. Perhaps they'll chime in.
> >
> > I guess that from a Copyright pow, the problem with "The LyX Team"
> > kindo implies that we have transfered the copyright to that entity.
> > (which is non-existing)
>
> Fair point. So your preferred heading is
>
> /*
>  *  \file PreviewLoader.C
>  *  Read the file COPYING
>  *
>  * \author Angus Leeming <[EMAIL PROTECTED]>
>  */
>
> I believe that we decided it'd be a good thing to move the email address to
> the CREDITS file too?

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

Results like:

aleem@pneumon:devel-> sh rmcopyright.sh src/graphics/*.[Ch]
--- src/graphics/GraphicsCache.C        Wed Jul 17 17:13:20 2002
+++ src/graphics/GraphicsCache.C.tmp    Wed Sep  4 19:20:05 2002
@@ -1,10 +1,9 @@
 /*
  * \file GraphicsCache.C
- * Copyright 2002 the LyX Team
  * Read the file COPYING
  *
- * \author Baruch Even <[EMAIL PROTECTED]>
- * \author Angus Leeming <[EMAIL PROTECTED]>
+ * \author Baruch Even
+ * \author Angus Leeming
  */

 #include <config.h>
overwrite src/graphics/GraphicsCache.C?

Reply via email to