Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!swrinde!ucsd!pacbell.com!ames!xn.ll.mit.edu!rkc From: rkc@xn.ll.mit.edu (Rob Cunningham) Newsgroups: comp.unix.questions Subject: sed: linewraps and / and * characters Message-ID: <1990Dec11.211426.11924@xn.ll.mit.edu> Date: 11 Dec 90 21:14:26 GMT Organization: MIT Lincoln Laboratory Lines: 35 Here`s what I'm trying to do: convert input that looks like this: /* Some Text Here */ 8888.999 /**** ... To input that looks like this /* Some Text Here */ 4.3 /**** I know sed should be able to do this, but I can't figure out 1. How to do carriage returns (\n doesn't work as I'd expect). and 2. How to match characters like / and * Can a sed guru show me the light? Thanks, -Rob PS. Apologies if this gets posted twice--we're having netnews problems.