|
From: | Eric Blake |
Subject: | Re: POSIXLY_CORRECT not correctly unset in getopt.m4? |
Date: | Tue, 07 Sep 2010 14:15:52 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2 |
On 09/07/2010 02:09 PM, Bruno Haible wrote:
Eric Blake wrote:env is required by POSIX, but it is not (yet) listed in the list of programs safe to use in GNU Coding StandardsAnd 'env' would not help much, because its output can easily be confused by environment variable values that contain newlines: $ foo='not POSIXLY_CORRECT=1' $ export foo $ env | grep POSIXLY_CORRECT POSIXLY_CORRECT=1
P.S. This is precisely why GNU coreutils recently added the -0/--null option to env.
-- Eric Blake address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |