Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2007 09:20:12 GMT
From:      Charlie ROOT <root@zeta.org.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/111711: cat(1) misbehaves with directories as parameters
Message-ID:  <200704170920.l3H9KCLh050072@freefall.freebsd.org>

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

From: Charlie ROOT <root@zeta.org.au>
To: Ricardo Nabinger Sanchez <rnsanchez@wait4.org>
Cc: freebsd-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org
Subject: Re: bin/111711: cat(1) misbehaves with directories as parameters
Date: Tue, 17 Apr 2007 18:49:52 +1000 (EST)

 On Mon, 16 Apr 2007, Ricardo Nabinger Sanchez wrote:
 
 >> Description:
 > If a directory is passed to cat, it outputs its contents, (sometimes) mangles the terminal, and may misbehave, like in the second run with ". Makefile" as parameters.
 
 This is the expected behaviour.  Directories are files, and directory files
 are readable except on broken file systems.
 
 Bruce



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