From b829948d9da8dbbea6d7275ebc1021000114ba15 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 3 Jan 2021 14:46:01 +0100 Subject: man pages: add more real world examples to the man pages --- sfeed_gopher.1 | 7 ++++++- sfeed_opml_export.1 | 6 +++++- sfeed_opml_import.1 | 6 +++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/sfeed_gopher.1 b/sfeed_gopher.1 index 401a127..40f9c33 100644 --- a/sfeed_gopher.1 +++ b/sfeed_gopher.1 @@ -1,4 +1,4 @@ -.Dd March 15, 2020 +.Dd January 3, 2021 .Dt SFEED_GOPHER 1 .Os .Sh NAME @@ -46,6 +46,11 @@ The default is "70". .El .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +.Bd -literal +SFEED_GOPHER_HOST="codemadness.org" SFEED_GOPHER_PATH="/feeds/" \\ + sfeed_gopher ~/.sfeed/feeds/* +.Ed .Sh SEE ALSO .Xr sfeed 1 , .Xr sfeed 5 diff --git a/sfeed_opml_export.1 b/sfeed_opml_export.1 index 650e391..29489de 100644 --- a/sfeed_opml_export.1 +++ b/sfeed_opml_export.1 @@ -1,4 +1,4 @@ -.Dd March 15, 2020 +.Dd January 3, 2021 .Dt SFEED_OPML_EXPORT 1 .Os .Sh NAME @@ -24,6 +24,10 @@ section for more information. .El .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +.Bd -literal +sfeed_opml_export ~/.sfeed/sfeedrc > opmlfile.xml +.Ed .Sh SEE ALSO .Xr sfeed_update 1 , .Xr sfeedrc 5 diff --git a/sfeed_opml_import.1 b/sfeed_opml_import.1 index d1c9163..f2f6b0a 100644 --- a/sfeed_opml_import.1 +++ b/sfeed_opml_import.1 @@ -1,4 +1,4 @@ -.Dd March 15, 2020 +.Dd January 3, 2021 .Dt SFEED_OPML_IMPORT 1 .Os .Sh NAME @@ -11,6 +11,10 @@ reads the OPML XML data from stdin and writes the config file text to stdout. .Sh EXIT STATUS .Ex -std +.Sh EXAMPLES +.Bd -literal +sfeed_opml_import < opmlfile.xml > ~/.sfeed/sfeedrc +.Ed .Sh SEE ALSO .Xr sfeed_update 1 , .Xr sfeedrc 5 -- cgit v1.2.3