Date: Mon, 07 Nov 2005 16:11:17 -0800 From: Jeffrey Ellis <jellis@dhnet.us> To: David Fleck <david.fleck@mchsi.com> Cc: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: How to sort find results Message-ID: <BF952D25.315B5%jellis@dhnet.us> In-Reply-To: <20051107170105.M3084@grond.sourballs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF952D25.315B5%jellis>