logo       

env - <command> -<opt> bug: env tries to eat -<opt>: msg#00152

linux.busybox

Subject: env - <command> -<opt> bug: env tries to eat -<opt>

# ./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]
--
vda


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise