Date: Tue, 17 Apr 2007 18:49:52 +1000 (EST) From: Charlie ROOT <root@zeta.org.au> To: Ricardo Nabinger Sanchez <rnsanchez@wait4.org> Cc: freebsd-bugs@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: bin/111711: cat(1) misbehaves with directories as parameters Message-ID: <20070417184639.F4118@besplex.bde.org> In-Reply-To: <200704161750.l3GHoPvi047606@www.freebsd.org> References: <200704161750.l3GHoPvi047606@www.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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?20070417184639.F4118>