From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 21:11:29 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 49DA91065698 for ; Thu, 3 Sep 2009 21:11:29 +0000 (UTC) (envelope-from stanb@panix.com) Received: from l2mail1.panix.com (l2mail1.panix.com [166.84.1.75]) by mx1.freebsd.org (Postfix) with ESMTP id DED718FC36 for ; Thu, 3 Sep 2009 21:11:28 +0000 (UTC) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by l2mail1.panix.com (Postfix) with ESMTP id 8F8AB30 for ; Thu, 3 Sep 2009 16:52:17 -0400 (EDT) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mail1.panix.com (Postfix) with ESMTP id D1D171F095; Thu, 3 Sep 2009 16:52:16 -0400 (EDT) Received: from teddy.fas.com (c-76-26-200-187.hsd1.sc.comcast.net [76.26.200.187]) by mailbackend.panix.com (Postfix) with ESMTP id 9FA3434FFC; Thu, 3 Sep 2009 16:52:16 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1MjJI0-0004ST-00; Thu, 03 Sep 2009 16:52:16 -0400 Date: Thu, 3 Sep 2009 16:52:16 -0400 From: stan To: Warren Block Message-ID: <20090903205216.GA17111@teddy.fas.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 16:49:42 up 33 days, 21:51, 1 user, load average: 0.16, 0.10, 0.07 User-Agent: Mutt/1.5.4i Sender: Stan Brown 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:11:29 -0000 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. And did you see when I added "perl --version" to the test script? But, I will try your sugestion, and report back. Thanks for the ehlp. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs.