Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site sequent.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!hao!hplabs!tektronix!ogcvax!sequent!merlyn
From: merlyn@sequent.UUCP
Newsgroups: net.unix
Subject: Re: how to double space text? - (nf)
Message-ID: <431@sequent.UUCP>
Date: Sun, 18-Mar-84 20:10:48 EST
Article-I.D.: sequent.431
Posted: Sun Mar 18 20:10:48 1984
Date-Received: Wed, 21-Mar-84 01:03:08 EST
References: <119@haddock.UUCP>
Organization: Sequent Computer Systems, Portland
Lines: 23

ONLY TURKEYS SHOULD GOBBLE THIS LINE... (others can ignore)

>> In our (Sys III) system, any of the following double space text:
>> 
>> 	pr -t -d [filename]
>> 
>> 	awk '{ print $0; print }'
>> 
>> 	while read x; do echo "$x\\n"; done
>> 
>> Take your pick.
>> 
>> John Levine, ima!johnl

Cute... don't try the awk one... it prints EVERY LINE twice, not double
space.  In awk (pretty sure this has been this way since V7, Sys III, X.XBSD
etc.) "print" without args is like "print $0".  Too bad.  print "" works
though.

Randal L. Schwartz, esq. (creator of rediculously long AWK programs)
Sequent Computer Systems, Inc.
UUCP: ...!tektronix!ogcvax!sequent!merlyn
BELL: (503)626-5700