[Top][All Lists]

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

Re: Serial number formats

From: Bruno Haible
Subject: Re: Serial number formats
Date: Tue, 17 Mar 2009 00:53:19 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> Maybe the solution is to expand automake's list of valid serial lines.
> True, it won't help until after the next Automake release, but if there
> are enough files in the wild that use '# file.m4 serial n', it seems like
> we should make it a valid format rather than forcing all those files to
> change.

For information: autopoint-0.18 will use this code to extract the serial
version from the first line:

sed_extract_serial='s/^#.* serial \([^ ]*\).*/\1/p
existing_serial=`sed -n -e "$sed_extract_serial" < "$1"


reply via email to

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