From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 21:44:44 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82AED106566B for ; Thu, 3 Sep 2009 21:44:44 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 437158FC1A for ; Thu, 3 Sep 2009 21:44:44 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n83Lihfa017454; Thu, 3 Sep 2009 15:44:43 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n83LihjD017451; Thu, 3 Sep 2009 15:44:43 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 3 Sep 2009 15:44:43 -0600 (MDT) From: Warren Block To: stan In-Reply-To: <20090903205216.GA17111@teddy.fas.com> Message-ID: References: <20090903205216.GA17111@teddy.fas.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Thu, 03 Sep 2009 15:44:43 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 21:44:44 -0000 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