libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: support .f03 and .F03


From: Ralf Wildenhues
Subject: Re: FYI: support .f03 and .F03
Date: Mon, 26 Feb 2007 05:05:45 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hi Gary,

Welcome back!  Or welcome, whereever you are now!

* Gary V. Vaughan wrote on Mon, Feb 26, 2007 at 12:03:48AM CET:
> On 21 Jan 2007, at 06:58, Ralf Wildenhues wrote:
> >looks nice.  Somebody should fix the func_version sed script to allow
> >multiple lines in copyright year lists to avoid long lines;

> func_version ()
> {
>     $SED -n '/^# '$PROGRAM' (GNU /,/# warranty; / {
>         s/^# //
>         s/^ *$//
>         :a
>         /[[1-9]][[0-9]]*[[,-]]$/N; s/[[1-9]][[0-9]]*[[,-]]\n# *//; ta
>         s/\((C)\)[[ 0-9,-]]*\( [[1-9]][[0-9]]*\)/\1\2/
>         p
>      }' < "$progpath"
>      exit $?
> }
> 
> Okay to apply (with ChangeLog etc)?

Not quite.  Inside sed { }, semicolons and address ranges are disallowed
by POSIX, see the note in the Autoconf manual.

FWIW, we could also just write 2003-2007 in the copyright statement, no?

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]