Date: Mon, 7 Nov 2005 17:17:29 -0600 (CST) From: David Fleck <david.fleck@mchsi.com> To: Jeffrey Ellis <jellis@dhnet.us> Cc: FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: How to sort find results Message-ID: <20051107170105.M3084@grond.sourballs.org> In-Reply-To: <BF951044.315A3%jellis@dhnet.us> References: <BF951044.315A3%jellis@dhnet.us>
next in thread | previous in thread | raw e-mail | index | archive | help
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?20051107170105.M3084>