From owner-freebsd-stable Mon Apr 30 8:44:29 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id C880A37B423 for ; Mon, 30 Apr 2001 08:44:24 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id IAA98351; Mon, 30 Apr 2001 08:43:29 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200104301543.IAA98351@gndrsh.dnsmgr.net> Subject: Re: tail In-Reply-To: <20010429221233.A99057@xor.obsecurity.org> from Kris Kennaway at "Apr 29, 2001 10:12:33 pm" To: kris@obsecurity.org (Kris Kennaway) Date: Mon, 30 Apr 2001 08:43:28 -0700 (PDT) Cc: juha@saarinen.org (Juha Saarinen), dan@langille.org (Dan Langille), chris@jeah.net (Chris Byrnes), stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Mon, Apr 30, 2001 at 05:08:47PM +1200, Juha Saarinen wrote: > > :: tail is doing as ordered. Directories and files are the same. So it's > > :: giving you the last ten lines of the file / > > > > Tail voss only obeyink orters??? > > > > Well, it's silly to do that unthinkingly. Here's what happens on a Debian > > box: > > > > juha@cyrus:~$ tail / > > tail: /: Is a directory > > > > More desirable behaviour, IMO. > > UNIX is about doing what you ask for. You want to tail/cat a > directory, who is the system to tell you otherwise. Yea.... but seems these people who now have access to change the code, like to change the code, just because they want to protect the fools who don't really now what to ask for :-) vi / Warning: / is not a regular file; /: unmodified, readonly: line 1 ex / Warning: / is not a regular file Press Enter to continue: /: unmodified, readonly: line 3 :q counter.hpc1.com:rgrimes {73}% ed / 512 Ahhh finally... a tool that does what I said without giving me grief!! -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message