From owner-freebsd-questions@FreeBSD.ORG Thu Mar 1 13:48:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA8D116A400 for ; Thu, 1 Mar 2007 13:48:58 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 954FE13C467 for ; Thu, 1 Mar 2007 13:48:58 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 28633 invoked from network); 2 Mar 2007 00:48:57 +1100 Received: from 203-217-48-136.dyn.iinet.net.au (HELO localhost) (203.217.48.136) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Mar 2007 00:48:57 +1100 Date: Fri, 2 Mar 2007 00:48:54 +1100 From: Norberto Meijome To: Paul Schmehl Message-ID: <20070302004854.7aad2d35@localhost> In-Reply-To: References: X-Mailer: Claws Mail 2.8.0 (GTK+ 2.10.9; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: find returns unusable result 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: Thu, 01 Mar 2007 13:48:58 -0000 On Wed, 28 Feb 2007 17:12:58 -0600 Paul Schmehl wrote: > I thought I could just do this: > chmod 755 `find /path/to/dirs -type d` > > but find returns a directory name of Day, Day, Day, which (obviously) > doesn't work. And for completeness sake, if you want to change the delimiter in your (bash*) shell, set IFS to something else , eg export IFS=| so now, instead of breaking Day and 2 apart, they'll be considered 1 list item. Which of course may bring other problems... but :) _________________________ {Beto|Norberto|Numard} Meijome If you find God, do you get to keep him/her? I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.