last_patch98 from vodz:
authorEric Andersen <andersen@codepoet.org>
Mon, 28 Jul 2003 07:42:19 +0000 (07:42 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 28 Jul 2003 07:42:19 +0000 (07:42 -0000)
commit05df91a3ac5801fc1f12101ab09f56626b296e83
tree8b02085050bb1cbe105bc4cd1d74d8e696bfdc81
parent35e643b39f6cc77b702c714cfa8e70f1e10601a9
last_patch98 from vodz:

Denis,

># ./busybox env - echo zzz
>zzz
># ./busybox echo -n zzz
>zzz
># ./busybox env - echo -n zzz
>env: invalid option -- n
>
>       obviously, env tried to understand -n as env's option
>       instead of blindly passing it to echo...
>
>BusyBox v1.00-pre1 (2003.07.16-07:53+0000) multi-call binary
>
>Usage: env [-iu] [-] [name=value]... [command]

Ah, you found very old problem.
Last patch also have:

- multiple "-u unsetenv" support
- GNU long option support
- save errno after exec failed before bb_perror_msg()

--w
vodz
coreutils/env.c