diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-01-01 23:23:06 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-01-02 00:00:21 +0100 |
commit | 8c85cbf85c42eca17f18ffe45ffc6bde695a4e26 (patch) | |
tree | fe2e5ffa8c3ba0d991d8a2f4f1158da5910dcb97 | |
parent | aec6b5c35ac33736e6b94e1a613666fe19ebb2d4 (diff) |
sfeed.1/sfeed_plain.1: add example, improve quoting the url for sfeed_web.1
-rw-r--r-- | sfeed.1 | 6 | ||||
-rw-r--r-- | sfeed_plain.1 | 6 | ||||
-rw-r--r-- | sfeed_web.1 | 4 |
3 files changed, 12 insertions, 4 deletions
@@ -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 diff --git a/sfeed_plain.1 b/sfeed_plain.1 index 8eae684..c551804 100644 --- a/sfeed_plain.1 +++ b/sfeed_plain.1 @@ -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 , diff --git a/sfeed_web.1 b/sfeed_web.1 index 5b93d9b..2fe4409 100644 --- a/sfeed_web.1 +++ b/sfeed_web.1 @@ -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 , |