auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/preview/aclocal.m4


From: David Kastrup
Subject: [AUCTeX-devel] Re: [AUCTeX-diffs] Changes to auctex/preview/aclocal.m4
Date: Wed, 27 Apr 2005 21:00:47 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

>  AC_DEFUN(AC_DATE_VERSION_FROM_CHANGELOG, [
>  AC_MSG_CHECKING([for date in ChangeLog])
> -$1=[`sed -n '1s/^\([-0-9]+\).*/\1/p' ChangeLog`]
> +$1=[`sed -n '1s/^\([-0-9]\+\).*/\1/p' ChangeLog`]

> -$2=[`sed -n '2,/^[0-9]/s/.*Version .* released\..*/\1/p' ChangeLog`]
> +$2=[`sed -n '2,/^[0-9]/s/.*Version \(.*\) released\..*/\1/p' ChangeLog`]

Serves me right.  I had a complicated sed script before that would
figure out the version in a single run from the ChangeLog.  And that
worked.  Then I decided to split this into version and date to make it
much simpler.  Cough, cough.

Come to think of it, I don't trust \+, so I'll replace it with a *
expression.  One never knows just how stupid the seds flying around
might be.

As if the preconference stress would not be bad enough, my washing
machine has just decided to show we what a hot washing is supposed to
be like and has steamed half of the kitchen in that process.  Just
what I needed.  Fortunately, it was mostly white laundry, but I
suppose a few trophy T-shirts might have become pretty bleak.

Thanks.  I guess I'll have to go through the Makefile next, and then
try to get things consistent again.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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