bug or feature: env perl -w

Denys Vlasenko vda.linux at googlemail.com
Tue Jun 30 12:22:44 UTC 2009


On Tue, Jun 30, 2009 at 9:58 AM, Natanael Copa<natanael.copa at gmail.com> wrote:
> Hi,
>
> Not sure if this is a bug or feature but it breaks glib-mkenums from
> glib package.
>
> To reproduce:
>
> echo "#!/usr/bin/env perl -w" > envperlw
> chmod +x envperlw
> ./envperlw
>
> Rather than exit with zero I get this:
> env: perl -w: No such file or directory
>
> Sounds like a bug to me...

#! is handled by kernel IIUC. Also, I just tried it
on a system where sh is bash and it happens there too.

Looks like we are compatible with "usual Linux system" here.
--
vda



>
> -nc
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>


More information about the busybox mailing list