Path: utzoo!utgpu!attcan!uunet!mcvax!dkuug!ambush!kimcm From: kimcm@ambush.UUCP (Kim Chr. Madsen) Newsgroups: news.sysadmin Subject: Re: uux sending mail on success Message-ID: <826@ambush.UUCP> Date: 20 Jul 88 08:59:54 GMT References: <172@rex.cs.tulane.edu> Organization: AmbraSoft A/S (Denmark) Lines: 33 mrw@rex.cs.tulane.edu (Marilyn Wulfekuhler) writes: >Then cron runs /usr/lib/news/sendbatch, a script which calls uux >___with the -z option___ (tells to send mail only on failure). And yes, our >uux does support -z. >Is this perhaps a BSD / SYS V incompatibility? (bourbon is BSD and spike is >SYS V) Or is there something more obvious that I have missed? Any help >appreciated. Yes there seems to be a case of SYSV and BSD incompatibility on how to interpret the options to uux: On SYSV systems the -z option means "Send success notification to the user" whereas on BSD (According to my 4.3BSD manual) -z option means "Notify the user only if the command fail". Beware there is other nasty traps hidden in uux when shifting between BSD and SYSV. Some options are purely SYSV like -b, -sFILE and some are BSD Only: -l and -L. Beware if you're using the -n option on BSD it means "Do not notify the user when the command completes" and on SYSV "Do not notify the user if the command fails" Best Regards, Kim Chr. Madsen, AmbraSoft A/S, Rojelskaer 15, DK-2840 Holte (Denmark) UUCP: kimcm@ambush.dk, PHONE: +45 2807 522, FAX: +45 2423 090 You shouldn't say it's no good. You should say you do not like it; and then, you know, you're perfectly safe. -- James Abbott McNeill Whistler --