Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • It is better but I am still having trouble, I dont see anything like a href beetween the strings, but it is still breaking it for some unknow reason. I will try to be more specific... Commented Dec 2, 2019 at 14:22
  • A lot of ocurrencies of <a href=***> blabla </a> are being ignored the lines are very long like the results of a google search for example, this is giving me some heartaches, but I cant understand why something simple like that can be so unexpected. Commented Dec 2, 2019 at 14:24
  • @LucianoAndressMartini Do you have any additional spaces between a and href? Do you have multi line entries where <a starts on one line and </a> ends on another line? (grep in a way I posted it doesn't expect multi-line entries) Commented Dec 2, 2019 at 14:30
  • ah. you have < between <a href>..</a>' while grep` doesn't expect it. I'll update the answer. Commented Dec 2, 2019 at 14:41