Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Bill Cole
On 10 May 2018, at 17:06, Todd Rinaldo wrote: >> On May 10, 2018, at 1:51 PM, Dave Jones wrote: [...] >> >> I think the safest way to handle this is to leave the script as it was a >> couple of days ago and on those systems that have perl in a different place, >> launch it with the full path to

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Todd Rinaldo
> On May 10, 2018, at 1:51 PM, Dave Jones wrote: > > On 05/10/2018 11:08 AM, Axb wrote: >> On 05/10/2018 05:09 PM, Bill Cole wrote: >>> On 10 May 2018, at 3:21 (-0400), Axb wrote: >>> Why is this needed? >>> >>> It is not possible to rely on /usr/bin/perl existing or being the "right" >>

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Dave Jones
On 05/10/2018 11:08 AM, Axb wrote: On 05/10/2018 05:09 PM, Bill Cole wrote: On 10 May 2018, at 3:21 (-0400), Axb wrote: Why is this needed? It is not possible to rely on /usr/bin/perl existing or being the "right" perl on some platforms. Most obviously, Perl was removed long ago from the F

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Axb
On 05/10/2018 05:09 PM, Bill Cole wrote: On 10 May 2018, at 3:21 (-0400), Axb wrote: Why is this needed? It is not possible to rely on /usr/bin/perl existing or being the "right" perl on some platforms. Most obviously, Perl was removed long ago from the FreeBSD base and the symlink at /usr/

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Bill Cole
On 10 May 2018, at 3:21 (-0400), Axb wrote: Why is this needed? It is not possible to rely on /usr/bin/perl existing or being the "right" perl on some platforms. Most obviously, Perl was removed long ago from the FreeBSD base and the symlink at /usr/bin/perl was removed from the perl5 port

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Bill Cole
On 10 May 2018, at 8:07 (-0400), Kevin A. McGrail wrote: > Agreed that is a mistake. I am on the road. Who made the change? Me. I've reverted it. Details coming... -- Bill Cole

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Axb
AM, Axb wrote: >> Index: mass-check >> === >> --- mass-check(revision 1831271) >> +++ mass-check(revision 1831272) >> @@ -1,4 +1,4 @@ >> -#!/usr/bin/perl -w >> +#!/usr/bin/env perl -w >> use strict

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Kevin A. McGrail
> > >> --- mass-check (revision 1831271) > > >> +++ mass-check(revision 1831272) > > >> @@ -1,4 +1,4 @@ > > >> -#!/usr/bin/perl -w > > >> +#!/usr

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Dave Jones
ote: >> Index: mass-check >> === >> --- mass-check    (revision 1831271) >> +++ mass-check    (revision 1831272) >> @@ -1,4 +1,4 @@ >> -#!/usr/bin/perl -w >> +#!/usr/bin/env perl -w >>  

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Kevin A. McGrail
++ mass-check (revision 1831272) > >> @@ -1,4 +1,4 @@ > >> -#!/usr/bin/perl -w > >> +#!/usr/bin/env perl -w > >> use strict; > >> > >> # > >> > >> seems this change blew up all my rule generation stuff > >> (Centos 6) and I

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Dave Jones
=== --- mass-check    (revision 1831271) +++ mass-check    (revision 1831272) @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w   use strict;   # seems this change blew up all my rule generation stuff (Centos 6) and I have no idea how to fix it locally. Why is this needed? Axb

Re: +#!/usr/bin/env perl -w

2018-05-10 Thread Axb
1831271) +++ mass-check    (revision 1831272) @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w  use strict;  # seems this change blew up all my rule generation stuff (Centos 6) and I have no idea how to fix it locally. Why is this needed? Axb

+#!/usr/bin/env perl -w

2018-05-10 Thread Axb
Index: mass-check === --- mass-check (revision 1831271) +++ mass-check (revision 1831272) @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w use strict; # seems this change blew up all my rule generation stuff (Centos