atom feed56 messages in org.freebsd.freebsd-stableRE: tail
FromSent OnAttachments
Chris ByrnesApr 29, 2001 9:24 pm 
Juha SaarinenApr 29, 2001 9:29 pm 
David W.Chapman Jr.Apr 29, 2001 9:31 pm 
Christopher SchulteApr 29, 2001 9:32 pm 
Mike TancsaApr 29, 2001 9:33 pm 
Dan LangilleApr 29, 2001 9:34 pm 
Juha SaarinenApr 29, 2001 10:04 pm 
Chris ByrnesApr 29, 2001 10:07 pm 
Juha SaarinenApr 29, 2001 10:08 pm 
Kris KennawayApr 29, 2001 10:12 pm 
David W.Chapman Jr.Apr 29, 2001 10:15 pm 
Mike MeyerApr 29, 2001 10:15 pm 
Ted FaberApr 29, 2001 10:21 pm 
Juha SaarinenApr 29, 2001 10:55 pm 
Juha SaarinenApr 29, 2001 10:55 pm 
Juha SaarinenApr 29, 2001 10:58 pm 
David W. Chapman Jr.Apr 29, 2001 11:04 pm 
Steve O'Hara-SmithApr 29, 2001 11:20 pm 
Mike MeyerApr 29, 2001 11:30 pm 
Juha SaarinenApr 29, 2001 11:53 pm 
Juha SaarinenApr 29, 2001 11:53 pm 
Mike MeyerApr 29, 2001 11:58 pm 
Jordan HubbardApr 30, 2001 12:00 am 
Juha SaarinenApr 30, 2001 12:11 am 
Jordan HubbardApr 30, 2001 12:18 am 
Mike MeyerApr 30, 2001 12:23 am 
Andre GoereeApr 30, 2001 12:33 am 
Valentin NechayevApr 30, 2001 1:03 am 
Valentin NechayevApr 30, 2001 1:18 am 
Raymond WikerApr 30, 2001 1:54 am 
David MaloneApr 30, 2001 2:13 am 
Kal TorakApr 30, 2001 2:24 am 
Panagiotis AstithasApr 30, 2001 2:33 am 
Oliver FrommeApr 30, 2001 5:03 am 
Donn MillerApr 30, 2001 6:23 am 
Rodney W. GrimesApr 30, 2001 8:43 am 
Ted FaberApr 30, 2001 9:00 am 
Chris ByrnesApr 30, 2001 9:08 am 
Arthur W. Neilson IIIApr 30, 2001 11:41 am 
Donn MillerApr 30, 2001 11:53 am 
Sue BlakeApr 30, 2001 12:35 pm 
Juha SaarinenApr 30, 2001 12:43 pm 
Lyndon NerenbergApr 30, 2001 12:48 pm 
Lyndon NerenbergApr 30, 2001 12:53 pm 
Dan LangilleApr 30, 2001 1:01 pm 
Fred GilhamApr 30, 2001 1:39 pm 
Juha SaarinenApr 30, 2001 2:02 pm 
Chad R. LarsonApr 30, 2001 6:27 pm 
Steve O'Hara-SmithApr 30, 2001 10:29 pm 
Jano LukacApr 30, 2001 10:37 pm 
Jordan HubbardMay 1, 2001 12:16 am 
Doug RussellMay 1, 2001 2:22 am 
Doug RussellMay 1, 2001 4:28 am 
Matthew HuntMay 1, 2001 9:36 am 
Christian ChenMay 2, 2001 12:33 am 
Oliver FrommeMay 2, 2001 2:55 am 
Subject:RE: tail
From:Mike Meyer (mw@mired.org)
Date:Apr 29, 2001 11:30:10 pm
List:org.freebsd.freebsd-stable

Juha Saarinen <ju@saarinen.org> types:

:: Well, yes, tail on a directory is a silly thing to do unthinkingly. :: But the silly one isn't tail, it's the user who issued the command :: without thinking. So the butter-fingered luser must be punished?

Having to live with the consequences of their own buttery fingers is punishment enough. Running tail on a file that's not ascii text - whether it's a directory, a binary, or something else - usually does strange things to the terminal, which will do.

:: More proof that linux isn't Unix. :: :: On Unix, it's generally more important to make sure the user can shoot :: anything they want than it is to keep the user from shooting :: themselves in the foot. In that case, tail should cause a kernel panic if you try to run it on a directory. If you really want to wallow in pendantry, please remember that "shooting yourself in the foot" isn't the right metaphor in this context.

Considering that it's the result of being butter-fingered, it seems highly appropriate.

The real issue is why should a command raise an error for no good reason. Either a kernel panic or a message is a bit extreme just because a user issued a command that someone else thinks is unusual. Until you can prove that there is no use for the output of tail on a directory, adding code to tail to generate an error in that case is silly.

<mike

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message