It's Friday afternoon, and my brain has frozen!
grep -E -m 1 -o "<title>(.*)</title>" myfile.rss
returns
<title>Some title</title>
How do I just get Some title
?
pipe it further through, for instance
sed -e 's,.*<title>\([^<]*\)</title>.*,\1,g'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With