From owner-freebsd-questions Fri Apr 19 14:47:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id AE1AF37B41A for ; Fri, 19 Apr 2002 14:47:38 -0700 (PDT) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id 9A74B901A00; Fri, 19 Apr 2002 17:45:41 -0400 (EDT) Date: Fri, 19 Apr 2002 17:45:41 -0400 From: mpd To: Paul Everlund Cc: freebsd-questions@freebsd.org Subject: Re: cat: A bug or just as it should be? Message-ID: <20020419174541.A47020@rochester.rr.com> References: <3CC08E8E.B5EEEA90@cs.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CC08E8E.B5EEEA90@cs.umu.se>; from tdv94ped@cs.umu.se on Fri, Apr 19, 2002 at 11:39:26PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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