[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12964: [PATCH] printenv: -n option added -- show names of variables.
From: |
Assaf Gordon |
Subject: |
bug#12964: [PATCH] printenv: -n option added -- show names of variables. |
Date: |
Tue, 9 Oct 2018 15:33:32 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
(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
- bug#12964: [PATCH] printenv: -n option added -- show names of variables.,
Assaf Gordon <=