Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site ho95e.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ho95e!wcs From: wcs@ho95e.UUCP (x0705) Newsgroups: net.unix-wizards Subject: Re: Cat -s Down Under the Stars - totally different on SysV and 4.*BSD Message-ID: <188@ho95e.UUCP> Date: Tue, 27-Aug-85 16:44:23 EDT Article-I.D.: ho95e.188 Posted: Tue Aug 27 16:44:23 1985 Date-Received: Wed, 28-Aug-85 08:57:17 EDT References: <865@brl-tgr.UUCP> <31500006@ISM780.UUCP> Organization: AT&T Bell Labs, Holmdel NJ Lines: 18 > > > > cc -E prog.c | cb | cat -s > > > ANOTHER FLAG FOR CAT!?!?!? How many places have cat -s? > > > Peter (The Mad Australian) da Silva > Well, PC/IX, IS/3 (our System III port), IS/Workbench (our VMS Workbench), > as well as AT&T's Sys V, AT&T's Sys V.2.1, and all of our other ports > which I can't name publicly ... in fact, I haven't found ANY UNIX* that > doesn't have cat -s. > Geoffrey Kimbrough INTERACTIVE Systems Corp. (My V7 manual doesn't have cat -s!) The cat -s options on System III/V/VR* and 4.*BSD mean two TOTALLY DIFFERENT things!. System III/V cat -s means "silent" - don't complain about non-existent files. Berkeley cat -s means "squash" - delete multiple newlines (I forget if this gets rid of ALL blank lines, or only reduces groups of blank lines to a single blank line. -- ## Bill Stewart, AT&T Bell Labs, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs