3 ms·
Can you explain to me what I am looking at here? (curl -o 1.htm... >2.htm)? And how I can use it to view an AMP page?
by duckmuck 9y ago
Can you explain to me what I am looking at here? (curl -o 1.htm... >2.htm)? And how I can use it to view an AMP page?
- zitterbewegung 9y agoIt saves the page after the filtering that is done in the command and you can open the 2.htm to view the page.
- nl 9y agoIt's two separate lines. The first line uses curl to download the AMP file to 1.htm The second line use sed to replace some elements in the HTML and writes it out to 2.htm