From owner-freebsd-questions@FreeBSD.ORG Mon Nov 7 23:17:41 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 6622616A41F for ; Mon, 7 Nov 2005 23:17:41 +0000 (GMT) (envelope-from david.fleck@mchsi.com) Received: from sccmmhc91.asp.att.net (sccmmhc91.asp.att.net [204.127.203.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id B356A43D76 for ; Mon, 7 Nov 2005 23:17:30 +0000 (GMT) (envelope-from david.fleck@mchsi.com) Received: from grond (12-216-7-29.client.mchsi.com[12.216.7.29]) by sccmmhc91.asp.att.net (sccmmhc91) with SMTP id <20051107231729m9100dundoe>; Mon, 7 Nov 2005 23:17:29 +0000 Date: Mon, 7 Nov 2005 17:17:29 -0600 (CST) From: David Fleck Sender: dcf@grond.sourballs.org To: Jeffrey Ellis In-Reply-To: Message-ID: <20051107170105.M3084@grond.sourballs.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Mon, 07 Nov 2005 23:17:41 -0000 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