sfeed.1/sfeed_plain.1: add example, improve quoting the url for sfeed_web.1

This commit is contained in:
Hiltjo Posthuma 2021-01-01 23:23:06 +01:00
parent aec6b5c35a
commit 8c85cbf85c
3 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.Dd September 19, 2020
.Dd January 1, 2021
.Dt SFEED 1
.Os
.Sh NAME
@ -51,6 +51,10 @@ Item, categories, multiple values are separated by |.
.El
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
.Bd -literal
curl -s 'https://codemadness.org/atom.xml' | sfeed
.Ed
.Sh SEE ALSO
.Xr sfeed_plain 1 ,
.Xr sfeed 5

View File

@ -1,4 +1,4 @@
.Dd March 15, 2020
.Dd January 1, 2021
.Dt SFEED_PLAIN 1
.Os
.Sh NAME
@ -40,6 +40,10 @@ and
.Xr wcwidth 3 .
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
.Bd -literal
curl -s 'https://codemadness.org/atom.xml' | sfeed | sfeed_plain
.Ed
.Sh SEE ALSO
.Xr sfeed 1 ,
.Xr sfeed_html 1 ,

View File

@ -1,4 +1,4 @@
.Dd October 22, 2020
.Dd January 1, 2021
.Dt SFEED_WEB 1
.Os
.Sh NAME
@ -35,7 +35,7 @@ Usually application/atom+xml or application/rss+xml.
.Sh EXAMPLES
Get urls from xkcd website:
.Bd -literal
curl -s -L http://www.xkcd.com | sfeed_web "http://www.xkcd.com/"
curl -s -L 'http://www.xkcd.com/' | sfeed_web 'http://www.xkcd.com/'
.Ed
.Sh SEE ALSO
.Xr sfeed_update 1 ,