Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2009 15:44:43 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        stan <stanb@panix.com>
Cc:        questions@freebsd.org
Subject:   Re: What invokes cricket on FreeBSD
Message-ID:  <alpine.BSF.2.00.0909031542270.17431@wonkity.com>
In-Reply-To: <20090903205216.GA17111@teddy.fas.com>
References:  <alpine.BSF.2.00.0909031437030.17133@wonkity.com> <20090903205216.GA17111@teddy.fas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Sep 2009, stan wrote:

> On Thu, Sep 03, 2009 at 02:45:52PM -0600, Warren Block wrote:
>>> On Thursday 03 September 2009 21:02:41 stan wrote:
>>>
>>>> pnoc# cat collect-subtrees
>>>> #!/bin/sh
>>>>
>>>> echo STARTED >> /tmp/stan
>>>> which perl >> /tmp/stan
>>>> /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan
>>>> echo Done >> /tmp/stan
>>>>
>>>> /tmp stan contains:
>>>>
>>>> pnoc# cat /tmp/stan
>>>> STARTED
>>>> /usr/bin/perl
>>>> Done
>>>> STARTED
>>>> /usr/bin/perl
>>>> Done
>>
>> That 'which perl' may not really help any, since collect-subtrees runs
>> perl from /usr/local/bin/perl.
>>
>
> Actually no:
>
> #!/usr/bin/perl -w
>
> That's the first line in collect-subtrees.

I was looking at the port version of cricket.

/usr/ports/net-mgmt/cricket/work/cricket-1.0.5/collect-subtrees
starts with

#!/usr/local/bin/perl -w
...

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0909031542270.17431>