Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 14:10:22 GMT
From:      Parv <parv@pair.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/96191: "cat" can display directory contents
Message-ID:  <200604241410.k3OEAMDi052560@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/96191; it has been noted by GNATS.

From: Parv <parv@pair.com>
To: Bjoern Voigt <bjoern@cs.tu-berlin.de>
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
 
 -- 
 



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