Article 53ZBN [SOLVED] ssed removes \r?\n

[SOLVED] ssed removes \r?\n

by
littlebigman
from LinuxQuestions.org on (#53ZBN)
Hello,

I'm using super-sed 3.62, and noticed that ssed seems to remove (\r)\n from the regex before proceeding :

Code:#NOK
ssed -R "s@^.+<time>.+</time>\r?\n@@g" < test.gpx > test.TIME.gpx

#OK
ssed -R "s@^.+<time>.+</time>@@g" < test.gpx > test.TIME.gpxIs there a work-around?

Thank you.latest?d=yIl2AUoC8zA latest?i=II49UzNM0PE:f08hbWu3Lsk:F7zBnMy latest?i=II49UzNM0PE:f08hbWu3Lsk:V_sGLiP latest?d=qj6IDK7rITs latest?i=II49UzNM0PE:f08hbWu3Lsk:gIN9vFwII49UzNM0PE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments