delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/07/11:30:20

From: jlrubin AT bway DOT net (Josh Rubin)
Newsgroups: comp.os.msdos.djgpp
Subject: sed hates me
Date: Sun, 07 Jun 1998 15:21:05 GMT
Organization: ISPNews http://ispnews.com
Lines: 15
Message-ID: <357aae4b.6492244@news1.bway.net>
NNTP-Posting-Host: dial-tulip-41.bway.net
Mime-Version: 1.0
NNTP-Posting-Date: 7 Jun 1998 15:21:08 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Sed vewsion 1.18 doesn't seem to like backspaces in
regular expressions. 

sed --expression='s/\b//g'  file > output 
leaves backspaces untouched. - try it on a formatted man page.

sed --expression='s/x\b//g' 
removes the 'x' but leaves the backspace!

Am I doing something wrong, or is this a sed bug, or
this this specific to the DJGPP port?

Josh Rubin
jlrubin AT bway DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019