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
  • If you want to parse html, I recommend to use something made for parsing html instead of grep. Depending on the actual HTML files you want to parse, you may get away with grep, but there'll be plenty of variants your regular expression won't catch. Commented Aug 25, 2019 at 7:20
  • 2
    can you show an example of the ACTUAL output of the wget command before any processing with tr or grep? Commented Aug 25, 2019 at 7:22
  • @cas ok I updated the question to include just what the wget -qO- http://website.com/site/ with no processing outputs. Commented Aug 25, 2019 at 7:58
  • ok, so it's not returning HTML. looks like it's returning a function call with embedded json. lynx -dump won't work for that at all. Commented Aug 25, 2019 at 8:01