Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 17:45:41 -0400
From:      mpd <mpd@rochester.rr.com>
To:        Paul Everlund <tdv94ped@cs.umu.se>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cat: A bug or just as it should be?
Message-ID:  <20020419174541.A47020@rochester.rr.com>
In-Reply-To: <3CC08E8E.B5EEEA90@cs.umu.se>; from tdv94ped@cs.umu.se on Fri, Apr 19, 2002 at 11:39:26PM %2B0200
References:  <3CC08E8E.B5EEEA90@cs.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 19, 2002 at 11:39:26PM +0200, Paul Everlund wrote:
> Hi all!
> 
> I have the following directory structure:
>   /usr/home/home/'users'/'users files'
> 
> When in /usr/home/home, as root, doing 'cat *'
> I get very strange output. It's a lot of not
> viewable characters, but also file names of
> existing files in /usr/home/home/'users' and
> in /usr/home/home/'users'/'users files'. The
> strangest of all is that even files that has
> been removed shows up.
> 
> Is this reproduceable on other computers run-
> ning 4.5-RELEASE as well? Is it a bug in cat,
> or is this a normal behaveiour?

That's what happens when you cat directories
or binary files. The removed filenames may just
be from history files or other things that
keep track of things like that.

> 
> Best regards,
> Paul
> 

mike
-- 
___________________________________________________________
 
"HI BATMAN! DO YOU WANT SOME ARCTIC CIRCLE-CANDY?
	- Little Girl from "BATMAN"

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




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