Path: utzoo!attcan!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.questions Subject: Re: Sed to make global replacements. Message-ID: <1989Dec2.133404.22165@virtech.uucp> Date: 2 Dec 89 13:34:04 GMT References: <37090@ames.arc.nasa.gov> Organization: Virtual Technologies Inc. Lines: 15 In article <37090@ames.arc.nasa.gov>, gahooten@orion.arc.nasa.gov (Gregory A. Hooten) writes: > I would like to change the characters \(12 to 1/2, but every thing I try > thinks the \( is the start of a character group. I would like any help > possible on this problem. How about: sed -e 's;\\(12;1/2;' Works for me. -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+