Subject: Re: regular irrexpressions
To: None <netbsd-help@netbsd.org>
From: None <collver1@attbi.com>
List: netbsd-help
Date: 10/18/2002 22:26:06
On Fri, Oct 18, 2002 at 10:24:49PM -0700, collver1@attbi.com wrote:
> On Sat, Oct 19, 2002 at 01:02:50AM -0400, James K. Lowden wrote:
> > so much so that he didn't care if anyone could read it.  Nevertheless, I
> > knew I needed to something I could do in perl with my eyes closed:
> > 
> > man indent |perl -pe's/.\010//g'
> > 
> > But I though, hey, this is why sed(1) was invented, right?  
> > Bwahaha!  sed laughs at my silly inexpressions.  
> 
> man indent | sed s/.^H//
> 
> To get that ^H, press Control-V, then Control-H.

I typed s/.^H//g

honest

Ben