Even simpler - sounds like the answer to me. -Laurin On Wed, 2007-08-22 at 12:30 -0400, David S. Madole wrote: > >From R. Mariotti on Wednesday, August 22, 2007 10:51 AM > > > I plan on filtering it with sed to search for the \f\n and > > replace it with just a \f and send it off. > > > > my sed line look like: s/\f\n/\n/g > > > > Any ideas what I need to change to make it work??? > > I'm confused about the question, the text above makes it sound like you are trying to convert \f\n to \f but the sed example makes it look like you are trying to convert \f\n to \n. > > If it's the latter, then the problem is that sed doesn't see the \n characters, they are implied at the end of each line. So just use: > > s/\f$// > > Instead. The $ matches the end of the line. > > David > > _______________________________________________ > Public archival of this list without permission is prohibited. > http://lists.eclug.net/mailman/listinfo/eclug > > !DSPAM:1,46cc6cca67781898225350! -- Laurin <lugger at streamlined-dev.com>
More information about the ECLUG mailing list