Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 10:20:30 +1200
From:      Jonathan Chen <jonc@chen.org.nz>
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:  <20020420102030.A6992@grimoire.chen.org.nz>
In-Reply-To: <3CC0954C.18B62401@cs.umu.se>; from tdv94ped@cs.umu.se on Sat, Apr 20, 2002 at 12:08:12AM %2B0200
References:  <3CC08E8E.B5EEEA90@cs.umu.se> <20020419174541.A47020@rochester.rr.com> <3CC0954C.18B62401@cs.umu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jonc@chen.org.nz>
----------------------------------------------------------------------
                 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




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