Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 1998 19:10:53 -0500
From:      Jon Hamilton <hamilton@pobox.com>
To:        "Allen Smith" <easmith@beatrice.rutgers.edu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Improvemnet of ln(1). 
Message-ID:  <199807130008.RAA08782@hub.freebsd.org>
In-Reply-To: Your message of "Sun, 12 Jul 1998 18:09:09 EDT." <9807121809.ZM18864@beatrice.rutgers.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help

[ Cc: list trimmed, I assume everyone involved will read it on the list ]

In message <9807121809.ZM18864@beatrice.rutgers.edu>, "Allen Smith" wrote:
} I am somewhat reluctant to suggest this... but why not:
} 	A. use isatty on the stderr file descriptor to decide the
} 	   default behavior
} 	B. use -w to activate warnings for a non-tty
} and	C. use -q to deactivate warnings for a tty

You forgot: 

D. Answer the resulting never-ending deluge of questions from people
   asking why it behaves differently in different circumstances, and
   why it differs from the behavior they're used to seeing in <insert
   any other flavor of UNIX>.

I'm sure others will complain of bloat if another flag is added to turn
on such warnings - and I'm not convinced that it's a bad argument, but it's
nowhere near as objectionable as changing the default behavior.  I still
think a wrapper is a much better option, for those who want this.

-- 
   Jon Hamilton  
   hamilton@pobox.com


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



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