Sed to make global replacements.
Conor P. Cahill
cpcahil at virtech.uucp
Sun Dec 3 00:34:04 AEST 1989
In article <37090 at ames.arc.nasa.gov>, gahooten at 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 |
+-----------------------------------------------------------------------+
More information about the Comp.unix.questions
mailing list