Quoth larry price, on Thu, 5 May 2005 14:16:09 -0700: > the one thing that sed does well is edit streams of text, it does not > do so well at guessing what you want, you have to tell it if you want > it to change line-endings etc.
Actually, the DOS newlines themselves were not my problem, and I didn't <i>want</i> to change them necessarily. It was that they were confusing sed so that my regular expression didn't work. To my simple mind, DOS newlines are newlines too, and so "$" should match them. Unless it is unreasonable to expect sed to account for that when pattern matching, then it would seem sed could do its one thing that much better. --Jason V. C. _______________________________________________ EUGLUG mailing list [email protected] http://www.euglug.org/mailman/listinfo/euglug
