bug#31215: coreutils env fails in a bash shebang

2018-04-18 Thread Eric Blake
tag 31215 notabug thanks On 04/18/2018 07:18 PM, William Schmidt wrote: > I think I've found a bug in *coreutils*, *env*. > > Linux debian 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) > x86_64 GNU/Linux > > All my Perl scripts contain either of these shebangs: > > #!/usr/bin/env per

bug#31215: coreutils env fails in a bash shebang

2018-04-18 Thread Pádraig Brady
On 18/04/18 17:18, William Schmidt wrote: > I think I've found a bug in *coreutils*, *env*. > > Linux debian 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) > x86_64 GNU/Linux > > All my Perl scripts contain either of these shebangs: > > #!/usr/bin/env perl -w > or > #!/usr/bin/env perl

bug#31215: coreutils env fails in a bash shebang

2018-04-18 Thread William Schmidt
I think I've found a bug in *coreutils*, *env*. Linux debian 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64 GNU/Linux All my Perl scripts contain either of these shebangs: #!/usr/bin/env perl -w or #!/usr/bin/env perl -wd When I attempt to run a Perl script with either of these