From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 24 14:10:22 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8D7716A401 for ; Mon, 24 Apr 2006 14:10:22 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8304943D48 for ; Mon, 24 Apr 2006 14:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3OEAMpb052561 for ; Mon, 24 Apr 2006 14:10:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3OEAMDi052560; Mon, 24 Apr 2006 14:10:22 GMT (envelope-from gnats) Date: Mon, 24 Apr 2006 14:10:22 GMT Message-Id: <200604241410.k3OEAMDi052560@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Parv Cc: Subject: Re: misc/96191: "cat" can display directory contents X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Parv List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Apr 2006 14:10:22 -0000 The following reply was made to PR misc/96191; it has been noted by GNATS. From: Parv To: Bjoern Voigt Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/96191: "cat" can display directory contents Date: Mon, 24 Apr 2006 10:05:23 -0400 in message <200604230850.k3N8oWre066807@www.freebsd.org>, wrote Bjoern Voigt thusly... > > >Description: > The FreeBSD's version of "cat" is able to display directory contains: > > $ cat /etc > (garbage) > > Solaris (tested with SunOS 5.9) shows the same behavior. > > The behavior on directories in not described in the manual page. > > >How-To-Repeat: > $ cat /etc I personally like this feature. BTW, a user can edit the directory entries too, at least in vi included w/ FreeBSD. > >Fix: > "cat" from "coreutils" (GNU Linux) refuses to display directory contents. > > $ cat /etc > cat: /etc: Is a directory As a user i oppose the proposed change, regardless of the weight of my opinion. - Parv --