[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed patch for POSIX conformance with /[]/
From: |
Paul Jarc |
Subject: |
Re: sed patch for POSIX conformance with /[]/ |
Date: |
Sat, 10 Jan 2004 05:16:38 -0500 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
"Paolo Bonzini" <address@hidden> wrote:
>> For example, if there's a need to disable all GNU
>> sed extensions to POSIX, this could be done by adding a --posix-only
>> option, or perhaps a POSIX_ONLY environment variable.
>
> Yes, I'll add --posix.
I think an environment variable would be better than a command-line
option. During development/testing, I'll want to enable POSIX-only
mode, to ensure that I don't use any non-POSIX features. But if this
is done by a command-line argument, then when I'm done testing, I'll
have to change my sed invocations to remove that argument before
releasing my code, since not all sed programs will support the
argument. With an environment variable, my code doesn't need to be
changed.
paul