bin/111711: cat(1) misbehaves with directories as parameters

Charlie ROOT root at zeta.org.au
Tue Apr 17 09:20:13 UTC 2007


The following reply was made to PR bin/111711; it has been noted by GNATS.

From: Charlie ROOT <root at zeta.org.au>
To: Ricardo Nabinger Sanchez <rnsanchez at wait4.org>
Cc: freebsd-gnats-submit at freebsd.org, freebsd-bugs at 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


More information about the freebsd-bugs mailing list