* [PATCH] Remove obsolete admonishment of the GZIP environment variable
@ 2021-03-08 19:07 Josh Triplett
2021-03-10 19:59 ` Alejandro Colomar (man-pages)
0 siblings, 1 reply; 4+ messages in thread
From: Josh Triplett @ 2021-03-08 19:07 UTC (permalink / raw)
To: linux-man, Alejandro Colomar, Michael Kerrisk
gzip deprecated the GZIP environment variable long ago.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
man7/environ.7 | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/man7/environ.7 b/man7/environ.7
index ee8ca97f6..77d9d3950 100644
--- a/man7/environ.7
+++ b/man7/environ.7
@@ -339,16 +339,10 @@ etc.).
However, in some traditional uses such an environment variable
gives options for the program instead of a pathname.
Thus, one has
-.BR MORE ,
-.BR LESS ,
-and
-.BR GZIP .
+.BR MORE and
+.BR LESS .
Such usage is considered mistaken, and to be avoided in new
programs.
-The authors of
-.I gzip
-should consider renaming their option to
-.BR GZIP_OPT .
.SH SEE ALSO
.BR bash (1),
.BR csh (1),
--
2.30.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Remove obsolete admonishment of the GZIP environment variable
2021-03-08 19:07 Josh Triplett
@ 2021-03-10 19:59 ` Alejandro Colomar (man-pages)
0 siblings, 0 replies; 4+ messages in thread
From: Alejandro Colomar (man-pages) @ 2021-03-10 19:59 UTC (permalink / raw)
To: Josh Triplett, linux-man, Michael Kerrisk
Hi Josh,
On 3/8/21 8:07 PM, Josh Triplett wrote:
> gzip deprecated the GZIP environment variable long ago.
>
> Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Thanks for the patch. I applied it, with a minor cosmetic tweak in the
source. See
<https://github.com/alejandro-colomar/man-pages/commit/f2af28be182d51e0fd6dd13dd879d3e2ec3b835f>.
We write variable names and such in separate lines, with nothing but
punctuation, so 'and' belongs to a different line.
Thanks,
Alex
> ---
> man7/environ.7 | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/man7/environ.7 b/man7/environ.7
> index ee8ca97f6..77d9d3950 100644
> --- a/man7/environ.7
> +++ b/man7/environ.7
> @@ -339,16 +339,10 @@ etc.).
> However, in some traditional uses such an environment variable
> gives options for the program instead of a pathname.
> Thus, one has
> -.BR MORE ,
> -.BR LESS ,
> -and
> -.BR GZIP .
> +.BR MORE and
> +.BR LESS .
> Such usage is considered mistaken, and to be avoided in new
> programs.
> -The authors of
> -.I gzip
> -should consider renaming their option to
> -.BR GZIP_OPT .
> .SH SEE ALSO
> .BR bash (1),
> .BR csh (1),
>
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] Remove obsolete admonishment of the GZIP environment variable
@ 2021-03-19 23:57 Alejandro Colomar
2021-04-04 19:30 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2021-03-19 23:57 UTC (permalink / raw)
To: mtk.manpages; +Cc: Josh Triplett, linux-man, Alejandro Colomar
From: Josh Triplett <josh@joshtriplett.org>
gzip deprecated the GZIP environment variable long ago.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
[ alx: srcfix ]
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
man7/environ.7 | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/man7/environ.7 b/man7/environ.7
index ee8ca97f6..d618ac749 100644
--- a/man7/environ.7
+++ b/man7/environ.7
@@ -339,16 +339,11 @@ etc.).
However, in some traditional uses such an environment variable
gives options for the program instead of a pathname.
Thus, one has
-.BR MORE ,
-.BR LESS ,
+.B MORE
and
-.BR GZIP .
+.BR LESS .
Such usage is considered mistaken, and to be avoided in new
programs.
-The authors of
-.I gzip
-should consider renaming their option to
-.BR GZIP_OPT .
.SH SEE ALSO
.BR bash (1),
.BR csh (1),
--
2.30.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Remove obsolete admonishment of the GZIP environment variable
2021-03-19 23:57 [PATCH] Remove obsolete admonishment of the GZIP environment variable Alejandro Colomar
@ 2021-04-04 19:30 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 4+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-04-04 19:30 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: mtk.manpages, Josh Triplett, linux-man
Hi Alex,
On 3/20/21 12:57 AM, Alejandro Colomar wrote:
> From: Josh Triplett <josh@joshtriplett.org>
>
> gzip deprecated the GZIP environment variable long ago.
>
> Signed-off-by: Josh Triplett <josh@joshtriplett.org>
> [ alx: srcfix ]
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Thanks. Patch applied.
Cheers,
Michael
> ---
> man7/environ.7 | 9 ++-------
> 1 file changed, 2 insertions(+), 7 deletions(-)
>
> diff --git a/man7/environ.7 b/man7/environ.7
> index ee8ca97f6..d618ac749 100644
> --- a/man7/environ.7
> +++ b/man7/environ.7
> @@ -339,16 +339,11 @@ etc.).
> However, in some traditional uses such an environment variable
> gives options for the program instead of a pathname.
> Thus, one has
> -.BR MORE ,
> -.BR LESS ,
> +.B MORE
> and
> -.BR GZIP .
> +.BR LESS .
> Such usage is considered mistaken, and to be avoided in new
> programs.
> -The authors of
> -.I gzip
> -should consider renaming their option to
> -.BR GZIP_OPT .
> .SH SEE ALSO
> .BR bash (1),
> .BR csh (1),
>
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-04-04 19:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-19 23:57 [PATCH] Remove obsolete admonishment of the GZIP environment variable Alejandro Colomar
2021-04-04 19:30 ` Michael Kerrisk (man-pages)
-- strict thread matches above, loose matches on Subject: below --
2021-03-08 19:07 Josh Triplett
2021-03-10 19:59 ` Alejandro Colomar (man-pages)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox