Skip site navigation (1)Skip section navigation (2)
Date:      20 Feb 1999 16:50:43 -0600
From:      Dave Marquardt <marquard@zilker.net>
To:        freebsd-bugs@freebsd.org
Subject:   Re: Cat Bug
Message-ID:  <85pv74u1to.fsf@localhost.zilker.net>
In-Reply-To: Mike's message of "Thu, 18 Feb 1999 15:56:02 -0500"
References:  <36CC7E62.F458B99B@cflmain.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Mike <mike@cflmain.com> writes:
> Hey. I think i found a bug in the version of cat shipped with freebsd.
> Usualy on most systems you cannot do cat something.txt >> something.txt
> the two hafta be different. But well i was playing around and i found
> you could with the ver shipped with freebsd. And if left running for as
> little as 10 seconds it creates a 150 meg file, and keeps growing.
> Thought you'd like to know.

I think you're mistaken.  I guess cat could go to extraordinary
lengths to see that a file it is catenating is the same as standard
output, but the lack of such a check isn't a bug.

If you said "I ran cp something.txt something.txt" and cp didn't
complain, I might call that a bug.

-Dave


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85pv74u1to.fsf>