From owner-freebsd-hackers Sun Jul 12 15:11:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA18164 for freebsd-hackers-outgoing; Sun, 12 Jul 1998 15:11:06 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from beatrice.rutgers.edu (beatrice.rutgers.edu [165.230.209.143]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA18158 for ; Sun, 12 Jul 1998 15:11:03 -0700 (PDT) (envelope-from easmith@beatrice.rutgers.edu) Received: (from easmith@localhost) by beatrice.rutgers.edu (980427.SGI.8.8.8/970903.SGI.AUTOCF) id SAA18866; Sun, 12 Jul 1998 18:09:10 -0400 (EDT) From: "Allen Smith" Message-Id: <9807121809.ZM18864@beatrice.rutgers.edu> Date: Sun, 12 Jul 1998 18:09:09 -0400 In-Reply-To: Joel Ray Holveck "Re: Improvemnet of ln(1)." (Jul 12, 3:21am) References: <199807120123.SAA17458@usr08.primenet.com> <199807120821.DAA01163@detlev.UUCP> X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: joelh@gnu.org, tlambert@primenet.com Subject: Re: Improvemnet of ln(1). Cc: bakul@torrentnet.com, dchapes@ddm.on.ca, rminnich@Sarnoff.COM, hackers@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 The reason I'm somewhat reluctant to suggest this is that I generally dislike things that change based upon isatty... but this appears to be an exception, just as is color ls' --color=tty option. -Allen -- Allen Smith easmith@beatrice.rutgers.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message