From owner-freebsd-questions@FreeBSD.ORG Sat Aug 23 11:41:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF3E51065671 for ; Sat, 23 Aug 2008 11:41:51 +0000 (UTC) (envelope-from fbsd06+ZC=1851d6f1@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 84D258FC21 for ; Sat, 23 Aug 2008 11:41:51 +0000 (UTC) (envelope-from fbsd06+ZC=1851d6f1@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 915F023E49B for ; Sat, 23 Aug 2008 07:41:49 -0400 (EDT) Date: Sat, 23 Aug 2008 12:41:45 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080823124145.6843f951@gumby.homeunix.com.> In-Reply-To: <20080823101941.GA42601@skytracker.ca> References: <20080823101941.GA42601@skytracker.ca> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: space char shell script problem 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: Sat, 23 Aug 2008 11:41:51 -0000 On Sat, 23 Aug 2008 06:19:42 -0400 David Banning wrote: > I am running into a problem with the space character in filenames. > For instance, If I want to run the script; > > for x in `ls` > do > echo $x > done for x in *