From owner-freebsd-hackers Sun Jul 12 01:28:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA23020 for freebsd-hackers-outgoing; Sun, 12 Jul 1998 01:28:12 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.camalott.com (root@mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA23015 for ; Sun, 12 Jul 1998 01:28:10 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-35.camalott.com [208.229.74.35]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id DAA32424; Sun, 12 Jul 1998 03:22:27 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id DAA01163; Sun, 12 Jul 1998 03:21:40 -0500 (CDT) (envelope-from joelh) Date: Sun, 12 Jul 1998 03:21:40 -0500 (CDT) Message-Id: <199807120821.DAA01163@detlev.UUCP> To: tlambert@primenet.com CC: bakul@torrentnet.com, dchapes@ddm.on.ca, rminnich@Sarnoff.COM, hackers@FreeBSD.ORG In-reply-to: <199807120123.SAA17458@usr08.primenet.com> (message from Terry Lambert on Sun, 12 Jul 1998 01:23:19 +0000 (GMT)) Subject: Re: Improvemnet of ln(1). From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199807120123.SAA17458@usr08.primenet.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>> How on earth will issuing a diagnostic make it harder to write >>> scripts? >> Because now you have to filter out (additional) noise. > Consider the "improvement" to the dump(8) command about a year ago... Regrettably, I don't remember this. Could you please refresh my memory? > Especially if it is a deviation in order to protect the kind of people > who type "DIR" in DOS after "DELETE FILE.DAT" to reassure themselves > that the system, indeed, did what they told it to do, and deleted the > file. > Protecting people who don't believe a file is really gone until they > get a directory listing without the file in it is pretty low on the > ladder of UNIX priorities. I trust Unix to do what I tell it to. But I don't mind it reminding me if I may have had one too many as it's doing what I told it to. > I wouldn't object too strongly to a "-w", as has been suggested elsewhere, > so long as the alias was not there by default. I would still object a > little, on the principle that a future version of POSIX might define > a "-w" argument, causing a namespace collision with the FreeBSD version > of the command (and thus breaking scripts, .login's, .cshrc's, etc.). I generally prefer a 'no-warnings' option over a 'enable-warnings' option if the warnings don't change the effects of the command. That is because a user at the keyboard is lazy, and will not, generally, type the extra options. Yes, we can make aliases, and so on, and so forth. On the other hand, those who are scared of breaking something can do the same with the -q (quiet) option I proposed. It comes back to my earlier question: Are there going to be more lossages if we add the warnings, or if we don't? I know for a fact that I've done the same thing that rminnich described in his original post. I also know that I've never written a script that this change would break. How many of us have done each? Happy hacking, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message