Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 08:43:28 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        kris@obsecurity.org (Kris Kennaway)
Cc:        juha@saarinen.org (Juha Saarinen), dan@langille.org (Dan Langille), chris@jeah.net (Chris Byrnes), stable@FreeBSD.ORG
Subject:   Re: tail
Message-ID:  <200104301543.IAA98351@gndrsh.dnsmgr.net>
In-Reply-To: <20010429221233.A99057@xor.obsecurity.org> from Kris Kennaway at "Apr 29, 2001 10:12:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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