[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] Properly expand @configure_input@ in config.status.
From: |
Paul Eggert |
Subject: |
Re: [PATCH 1/3] Properly expand @configure_input@ in config.status. |
Date: |
Sat, 05 Jan 2008 22:25:07 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Paolo Bonzini <address@hidden> writes:
> Yes, it is undefined
I don't see why 's&foo&\&&' is undefined. The POSIX standard says:
Any character other than backslash or <newline> can be used instead
of a slash to delimit the BRE and the replacement. Within the BRE
and the replacement, the BRE delimiter itself can be used as a
literal character if it is preceded by a backslash.
Therefore, preceding & by a backslash makes it a "literal character",
i.e., a character that is not special. Where's the ambiguity?
Even if the standard were ambiguous (which I don't yet see), there is
a practical advantage to behaving compatibly with other 'sed'
implementations in this area.
Anyway, if you like, I can file an interpretation request with the
POSIX folks about this.
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Ralf Wildenhues, 2008/01/04
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paul Eggert, 2008/01/05
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Ralf Wildenhues, 2008/01/05
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paul Eggert, 2008/01/05
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paolo Bonzini, 2008/01/05
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status.,
Paul Eggert <=
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paolo Bonzini, 2008/01/06
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paolo Bonzini, 2008/01/06
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paolo Bonzini, 2008/01/06
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Ralf Wildenhues, 2008/01/06
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paolo Bonzini, 2008/01/06
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paul Eggert, 2008/01/07
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paolo Bonzini, 2008/01/07
- Re: [PATCH 1/3] Properly expand @configure_input@ in config.status., Paul Eggert, 2008/01/07