> Alas, the posix spec for env doesn't require that arguments be
> correctly formatted environment variables.
> 
> What if we just delete the BUGS section from the man page? That's
> really what annoys me here. I think fixing bugs is much preferable to
> documenting bugs, but if it's the intended or expected behavior, then
> it's not a bug. Problem solved.

How about this?

Index: env.1
===================================================================
RCS file: /cvs/src/usr.bin/env/env.1,v
retrieving revision 1.19
diff -u -p -u -r1.19 env.1
--- env.1       8 Mar 2014 01:42:17 -0000       1.19
+++ env.1       12 Jan 2015 19:13:37 -0000
@@ -76,6 +76,12 @@ prints out the names and values
 of the variables in the environment, with one
 .Ar name Ns = Ns Ar value
 pair per line.
+.Pp
+.Nm
+doesn't handle commands with equal
+.Pq Sq =
+signs in their
+names, for obvious reasons.
 .Sh EXIT STATUS
 The
 .Nm
@@ -119,9 +125,3 @@ specification.
 The historic
 .Fl
 option has been deprecated but is still supported in this implementation.
-.Sh BUGS
-.Nm
-doesn't handle commands with equal
-.Pq Sq =
-signs in their
-names, for obvious reasons.

Reply via email to