Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2006 12:35:13 +1000
From:      Johny Mattsson <lonewolf-freebsd@earthmagic.org>
To:        lopisaur@gmail.com
Cc:        freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Weird / FS behavior
Message-ID:  <445AB9E1.7090208@earthmagic.org>
In-Reply-To: <1146796223.21698.7.camel@hellion.clcw>
References:  <1146796223.21698.7.camel@hellion.clcw>

next in thread | previous in thread | raw e-mail | index | archive | help
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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445AB9E1.7090208>