> > On Sun, 11 Jan 2015, Ted Unangst wrote: > >> Even more awesome. > > > > How about enforcing the full rule? > > IIUC the first diff removed '/' from the characters allowed in an > environment variable, so that one can run env(1) and a program whose > name contains '='... I've never seen such a program name. > > I think this is not env(1)'s job to tell which letters can be put in > a environment variable name; other env(1) implementations don't seem to > care at all. > > btw, in ksh > > FOO=bar BAZ=quuz ./your=program > > works around the "no '=' in program name" rule; I seriously doubt this > is a concern though.
I don't see how this improves env. Now it has a difference from other systems. How do you use it portably? You can't. The portable behaviour is that it fails like now.
