From owner-freebsd-questions@FreeBSD.ORG Fri May 5 02:35:18 2006 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 3159916A62A; Fri, 5 May 2006 02:35:18 +0000 (UTC) (envelope-from lonewolf-freebsd@earthmagic.org) Received: from ppp162-248.static.internode.on.net (ppp162-248.static.internode.on.net [150.101.162.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2E7D43D64; Fri, 5 May 2006 02:35:15 +0000 (GMT) (envelope-from lonewolf-freebsd@earthmagic.org) Received: from [192.168.2.3] (sarah.zone2.earthmagic.org [192.168.2.3]) by ppp162-248.static.internode.on.net (Postfix-MSA) with ESMTP id 52CC566ED1; Fri, 5 May 2006 12:33:36 +1000 (EST) Message-ID: <445AB9E1.7090208@earthmagic.org> Date: Fri, 05 May 2006 12:35:13 +1000 From: Johny Mattsson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: lopisaur@gmail.com References: <1146796223.21698.7.camel@hellion.clcw> In-Reply-To: <1146796223.21698.7.camel@hellion.clcw> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Weird / FS behavior 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: Fri, 05 May 2006 02:35:18 -0000 On 05/05/06 12:30, Christian Lopez de Castilla Wagner wrote: > I'm posting this to -questions and -stable, since I'm not sure if it is > a problem or if I'm simply overlooking something. You're overlooking something :) > root@hellion# cat S56/vcs/20060504/*.vcs >> S56/vcs/20060504/cal.vcs The shell creates the "cal.vcs" file before it expands the glob (the *.vcs), and therefore the cat command ends up using cal.vcs as input as well, causing a nasty feedback loop. Cheers, /Johny -- Johny Mattsson - Making IT work ,-. ,-. ,-. When all else fails, http://www.earthmagic.org _.' `-' `-' Murphy's Law still works!