man pages: add more real world examples to the man pages

This commit is contained in:
Hiltjo Posthuma 2021-01-03 14:46:01 +01:00
parent 8c85cbf85c
commit b829948d9d
3 changed files with 16 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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