From owner-freebsd-questions Fri Apr 19 15:21:20 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chen.org.nz (adsl-210.54.19.51.quicksilver.net.nz [210.54.19.51]) by hub.freebsd.org (Postfix) with ESMTP id 9E40437B416 for ; Fri, 19 Apr 2002 15:21:14 -0700 (PDT) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.2/8.12.2) with ESMTP id g3JMKUEp007027; Sat, 20 Apr 2002 10:20:30 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.2/8.12.2/Submit) id g3JMKUvg007026; Sat, 20 Apr 2002 10:20:30 +1200 (NZST) Date: Sat, 20 Apr 2002 10:20:30 +1200 From: Jonathan Chen To: Paul Everlund Cc: freebsd-questions@FreeBSD.ORG Subject: Re: cat: A bug or just as it should be? Message-ID: <20020420102030.A6992@grimoire.chen.org.nz> References: <3CC08E8E.B5EEEA90@cs.umu.se> <20020419174541.A47020@rochester.rr.com> <3CC0954C.18B62401@cs.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: <3CC0954C.18B62401@cs.umu.se>; from tdv94ped@cs.umu.se on Sat, Apr 20, 2002 at 12:08:12AM +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 Sat, Apr 20, 2002 at 12:08:12AM +0200, Paul Everlund wrote: [...] > fw# ls -l > total 2 > drwxr-xr-x 10 root wheel 512 20 Mar 01:20 home > fw# > > Doing a 'cat *' there gives the following result > (edited somewhat by me: "UUU" means an active user > and "uuu" means an user who has been removed): > hE? > ??.<8? > ??..· "UUU"yF? > ??"uuu"·???"UUU"-pF?¶? > "UUU"fF????"UUU"lQ-gF????"UUU"mQ-:????"UUU"^F? > > ??w > ww¦C?h?? "UUU"-C?T??"uuu"fw# > > Those "uuu" users, removed ones, are in no .his- > tory as there are no history file in the directory > /usr/home. You are cat'ing the contents of the directory "home" and getting binary output. -- Jonathan Chen ---------------------------------------------------------------------- When you don't know what you are doing, do it neatly. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message