From e4ef49a465969a68704dbcfec43baa7f874f59ff Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 18 Sep 2015 20:17:05 +0200 Subject: [PATCH] man: rtpr: add minimal manpage While there is not much to explain about this rather trivial shell script, having a manpage for it serves as good point of reference for users wondering what it might be for. Signed-off-by: Phil Sutter --- man/man8/Makefile | 2 +- man/man8/rtpr.8 | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 man/man8/rtpr.8 diff --git a/man/man8/Makefile b/man/man8/Makefile index 3df9961f..c97d816c 100644 --- a/man/man8/Makefile +++ b/man/man8/Makefile @@ -1,6 +1,6 @@ TARGETS = ip-address.8 ip-link.8 ip-route.8 -MAN8PAGES = $(TARGETS) ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 ss.8 \ +MAN8PAGES = $(TARGETS) ip.8 arpd.8 lnstat.8 routel.8 rtacct.8 rtmon.8 rtpr.8 ss.8 \ tc.8 tc-bfifo.8 tc-bpf.8 tc-cbq.8 tc-cbq-details.8 tc-choke.8 tc-codel.8 \ tc-drr.8 tc-ematch.8 tc-fq_codel.8 tc-hfsc.8 tc-htb.8 tc-pie.8 \ tc-mqprio.8 tc-netem.8 tc-pfifo.8 tc-pfifo_fast.8 tc-prio.8 tc-red.8 \ diff --git a/man/man8/rtpr.8 b/man/man8/rtpr.8 new file mode 100644 index 00000000..5e32b2ee --- /dev/null +++ b/man/man8/rtpr.8 @@ -0,0 +1,25 @@ +.TH RTPR 8 "18 September, 2015" + +.SH NAME +rtpr \- replace backslashes with newlines. + +.SH DESCRIPTION +.B rtpr +is a trivial bash script which converts backslashes in standard input to newlines. It's sole purpose is to be fed with input from +.B ip +when executed with it's +.B --oneline +flag. + +.SH EXAMPLES +.TP +ip --onenline address show | rtpr +Undo oneline converted +.B ip-address +output. + +.SH SEE ALSO +.BR ip (8) + +.SH AUTHORS +Stephen Hemminger