Subject: Re: "command" builtin leaks environment with special builtin argument.
Date: Thursday 18th October 2012 14:36:06 UTC (over 6 years ago)
cc: [email protected] Subject: Re: [ast-developers] "command" builtin leaks environment with special builtin argument. -------- > Quoting POSIX on the command utility: > 82858 If the command_name is the same as the name of one of the special buil > t-in utilities, the special > 82859 properties in the enumerated list at the beginning of Section 2.14 (on > page 2356) shall not occur. > > This suggests it should be possible to negate the effects of a special builtin > by prefixing the "command" regular builtin. In ksh, "command" suppresses > function lookup with no impact on the environment or evaluation order. > Thanks, I have fixed this for ksh93v. David Korn [email protected]