🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #2718

Re: How to insert a space down a table, using vi?

#2718
From: Dave Wolfe
Date: Wed, 29 May 1991 17:40
15 lines
1079 bytes
In <1991May28.214142.8549@umbc3.umbc.edu> rouben@math9.math.umbc.edu (Rouben Rostamian) writes:

>With large files you may prefer using sed rather that vi, as in:
>tail +2 infile | sed 's/..../& /' >outfile

That would lose the first line of the file; probably not what was
intended.  How about:

    sed '2,$s/..../& /' >outfile

-- 
Dave Wolfe (dwolfe@oakhill.sps.mot.com)		| Motorola Incorporated
"[RISC is] like obscenity,			| MMTG (formerly MPG)
 we all know what RISC is when we see it,	| Austin, Texas  78735-8598
 but no one can define it."	Chris Torek	| m/d OE112  (512)891-3246
Technical Details
Message-ID: <1991May29.174023.6165@oakhill.sps.mot.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!oakhill!dwolfe
References: <4016@ux.acs.umn.edu> <1991May28.214142.8549@umbc3.umbc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!oakhill!dwolfe
From: dwolfe@oakhill.sps.mot.com (Dave Wolfe)
Newsgroups: comp.editors
Subject: Re: How to insert a space down a table, using vi?
Message-ID: <1991May29.174023.6165@oakhill.sps.mot.com>
Date: 29 May 91 17:40:23 GMT
References: <4016@ux.acs.umn.edu> <1991May28.214142.8549@umbc3.umbc.edu>
Organization: Motorola Inc., Austin, Texas
Lines: 15