commit b829948d9da8dbbea6d7275ebc1021000114ba15
parent 8c85cbf85c42eca17f18ffe45ffc6bde695a4e26
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 3 Jan 2021 14:46:01 +0100
man pages: add more real world examples to the man pages
Diffstat:
3 files changed, 16 insertions(+), 3 deletions(-)
diff --git 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
@@ -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
@@ -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