News for hackers. Stuff that matters.
Re:Ryzen Boards Reign at Embedded World 2018 by thinkloop on Tuesday February 27, 2018 @05:31PM (#16478646)
What is the purpose of the sed?
Re:Ryzen Boards Reign at Embedded World 2018 by adventureadmin on Tuesday February 27, 2018 @07:16PM (#16479481)
Specifically, it modifies the file in place (-i), Matches lines between paragraph tags(/PatternStart/,/PatternEnd/), Then, doesn't delete those lines matching the pattern range (!d), which has the effect of deleting all other lines outside the pattern range when passed the in-place argument.
Re:Ryzen Boards Reign at Embedded World 2018 by bproven on Tuesday February 27, 2018 @06:14PM (#16479032)
Being partially sed stupid myself (or just plain stupid), I think its supposed to pull only the text between paragraph tags and save that to an htm file; then launch firefox and display that file, giving you only the pertinent text of the article (sans ads)
Re:Ryzen Boards Reign at Embedded World 2018 by aplorbust on Tuesday February 27, 2018 @05:55PM (#16478854)
Remove Javascript and links to Javascript files that load ads, etc.

Preserve only the desired content: text describing the boards, links to manufacturers websites, links to images.

Re:Ryzen Boards Reign at Embedded World 2018 by singlow on Tuesday February 27, 2018 @08:24PM (#16479882)
Looks like it is deleting everything not contained in paragraph tags.