From owner-freebsd-questions@FreeBSD.ORG Tue Nov 8 00:11:20 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03D2916A41F for ; Tue, 8 Nov 2005 00:11:20 +0000 (GMT) (envelope-from jellis@dhnet.us) Received: from smtp1.linkline.com (smtp1.linkline.com [66.59.235.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DC8F43D49 for ; Tue, 8 Nov 2005 00:11:19 +0000 (GMT) (envelope-from jellis@dhnet.us) Received: from [64.30.211.58] (64-30-211-58.dsl.linkline.com [64.30.211.58]) by smtp1.linkline.com (Postfix) with ESMTP id A36F79CD49; Mon, 7 Nov 2005 16:11:15 -0800 (PST) User-Agent: Microsoft-Entourage/11.2.0.050811 Date: Mon, 07 Nov 2005 16:11:17 -0800 From: Jeffrey Ellis To: David Fleck Message-ID: Thread-Topic: How to sort find results Thread-Index: AcXj+PAgLq4wCE/sEdqYJgAKlXMBfA== In-Reply-To: <20051107170105.M3084@grond.sourballs.org> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: FreeBSD questions Subject: Re: How to sort find results 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: Tue, 08 Nov 2005 00:11:20 -0000 Hi, David-- Thanks :) # which perl /usr/bin/perl #head date_sort head: date_sort: No such file or directory All My Best, Jeffrey on 11/7/05 3:17 PM, David Fleck at david.fleck@mchsi.com wrote: > On Mon, 7 Nov 2005, Jeffrey Ellis wrote: >> Y'know, being a newbie at something is about as stupid as things generally >> get. So I'm feeling totally dumb at the moment. > > The feeling will go away after a while, really. > >> But when I try: >> >> # ./date_sort / >> >> I get: >> >> use: bad interpreter: No such file or directory > > Sounds like it can't find perl, or there's a syntax error. (Perl is > installed, right?) Paste the results of the following commands into a mail > message: > > which perl > > head date_sort > > and we can see if there's anything obvious there. The script may be > pointing to a non-existant executable. > > And also note that, as currently written, the perl script does not have an > equivalent to the '-x' argument for 'find'. We might be able to get that > in there, but probably should worry about just getting the script working > first. > > > -- > David Fleck > david.fleck@mchsi.com >