GNU bug report logs -
#12964
[PATCH] printenv: -n option added -- show names of variables.
Previous Next
Full log
View this message in rfc822 format
(Triaging old bugs)
Hello,
On 22/11/12 03:42 PM, Van de Bugger wrote:
> Subject: [PATCH] printenv: -n option added -- show names of variables.
>
> * src/printenv.c: -n option added -- show names of variables.
> ---
> src/printenv.c | 17 +++++++++++++----
> 1 file changed, 13 insertions(+), 4 deletions(-)
Thank you for the patch. It seem it have slipped between the cracks long
ago - sorry about that.
So summarize:
With your patch, using "printenv -n VARNAME" adds
the variable name to the output. e.g.:
$ printenv HOME
/home/gordon
$ printenv -n HOME
HOME=/home/gordon
From a cursory look this seems like a non-standard extension
that is not available in any other 'printenv' implementations.
Do you have any specific use-cases for this functionality
(that can't be easily done with existing methods) ?
I'm inclined to close it as "wontfix" - but will wait few days
in case others want to chime in with other opinions.
regards,
- assaf
This bug report was last modified 6 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.