[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposed Autoconf patch so that "configure" need not use Awk
From: |
Paul Eggert |
Subject: |
Re: proposed Autoconf patch so that "configure" need not use Awk |
Date: |
Fri, 2 Nov 2001 12:05:07 -0800 (PST) |
> From: Akim Demaille <address@hidden>
> Date: 02 Nov 2001 17:09:30 +0100
>
> >> In any case, I'm surprised by s/ $//;s/.*\n//. I would be less
> >> surprised, I guess, with s/ $//g;s/.*\n//.
>
> Paul> You don't want the 'g', because that would remove trailing white
> Paul> space from the input script.
>
> Yep, now that I understand $ better, it's clear to me the g is not
> necessary. But I don't understand why you say it would erase all the
> trailing spaces.
Sorry, my mistake; it's merely redundant, not harmful.