Article View: comp.editors
Article #3591Re: double spacing a file w/ SED
From: Greg Tarsa
Date: Mon, 24 Apr 1989 15:38
Date: Mon, 24 Apr 1989 15:38
16 lines
945 bytes
945 bytes
You folks are thinking too hard. The following SED command line will
sed G file.name
The G appends the (empty) hold area to the pattern space with a newline
between them.
Yours for happy stream editing,
Greg Tarsa
Tarsa Software Consulting
--------------------------------
33 Seabee Street
Bedford, NH 03102 tarsa@elijah.mv.com
(603)668-9226 {decuac,decvax}!elijah!tarsa
Technical Details
Message-ID:
<4772@decvax.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!decwrl!decvax!elijah.mv.com!tarsaReferences:
<23479@agate.BERKELEY.EDU> <28000@conexch.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!decwrl!decvax!elijah.mv.com!tarsa From: tarsa@elijah.mv.com (Greg Tarsa) Newsgroups: comp.editors Subject: Re: double spacing a file w/ SED Keywords: Simple SED doublespacing Message-ID: <4772@decvax.dec.com> Date: 24 Apr 89 15:38:47 GMT References: <23479@agate.BERKELEY.EDU> <28000@conexch.UUCP> Sender: news@decvax.dec.com Reply-To: tarsa@elijah.mv.com Followup-To: tarsa@elijah.mv.com Distribution: usa Organization: Tarsa Software Consulting Lines: 16