From owner-freebsd-questions@FreeBSD.ORG Tue Nov 8 22:13:53 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 1566716A41F for ; Tue, 8 Nov 2005 22:13:53 +0000 (GMT) (envelope-from richard.burakowski@mrburak.net) Received: from mail.mrburak.net (203-217-17-178.perm.iinet.net.au [203.217.17.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03B3143D5D for ; Tue, 8 Nov 2005 22:13:48 +0000 (GMT) (envelope-from richard.burakowski@mrburak.net) Received: from [127.0.0.1] (unknown [10.20.0.1]) by mail.mrburak.net (Postfix) with ESMTP id 7EC5122820; Wed, 9 Nov 2005 09:13:47 +1100 (EST) Message-ID: <4371231A.9000704@mrburak.net> Date: Wed, 09 Nov 2005 09:13:46 +1100 From: Richard Burakowski User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeffrey Ellis References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 22:13:53 -0000 Jeffrey Ellis wrote: >Hi, Richard -- > >Do you mean in David's script (I have heard of that happening before with >copy and paste)? > >How can I tell if that's the case? And how would I go about fixing it? > > that's right, in the script that's trying to run. usually with the default vi, you should see ^M at the end of every line. from vi :%s/^M$//g where ^M is CTRL-V-M, amomg others