Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site whuxle.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!whuxle!mkg From: mkg@whuxle.UUCP (Marsh Gosnell) Newsgroups: net.news.b Subject: extra newline in 2.10.2 compress output Message-ID: <587@whuxle.UUCP> Date: Mon, 24-Sep-84 23:46:06 EDT Article-I.D.: whuxle.587 Posted: Mon Sep 24 23:46:06 1984 Date-Received: Wed, 26-Sep-84 07:35:03 EDT Distribution: net Organization: AT&T Bell Laboratories, Whippany Lines: 16 compress.c insists on generating a newline to stderr even in quiet mode. Here is a fix that eliminates the newline. The change is necessary because the System V release 2 cron will send the owner of the cron entry mail if there is any output from the command. No mail is sent if there is no output. This provides a nifty mechanism for cron entries to be silent unless something breaks (e.g., no output except if an error is detected). Here is the results of 'diff ocompress.c compress.c': 339d338 < putc('\n', stderr); 490c489 < fprintf( stderr, "Compression: %5.2f%%", --- > fprintf( stderr, "Compression: %5.2f%%\n", Marsh Gosnell ihnp4!whuxlk!mkg