mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-16 06:25:35 +08:00
ip: remove old rtpr script
This script was a one off hack for a special case. Now that ip commands have better formatting, there is no real reason for it. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David Ahern <dsahern@kernel.org>
This commit is contained in:
parent
fb843668fb
commit
2c8110881b
@ -18,7 +18,7 @@ RTMONOBJ=rtmon.o
|
||||
include ../config.mk
|
||||
|
||||
ALLOBJ=$(IPOBJ) $(RTMONOBJ)
|
||||
SCRIPTS=ifcfg rtpr routel routef
|
||||
SCRIPTS=ifcfg routel routef
|
||||
TARGETS=ip rtmon
|
||||
|
||||
all: $(TARGETS) $(SCRIPTS)
|
||||
|
5
ip/rtpr
5
ip/rtpr
@ -1,5 +0,0 @@
|
||||
#! /bin/sh
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
exec tr "[\\\\]" "[
|
||||
]"
|
@ -1,25 +0,0 @@
|
||||
.TH RTPR 8 "18 September, 2015"
|
||||
|
||||
.SH NAME
|
||||
rtpr \- replace backslashes with newlines.
|
||||
|
||||
.SH DESCRIPTION
|
||||
.B rtpr
|
||||
is a trivial shell 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 --oneline address show | rtpr
|
||||
Undo oneline converted
|
||||
.B ip-address
|
||||
output.
|
||||
|
||||
.SH SEE ALSO
|
||||
.BR ip (8)
|
||||
|
||||
.SH AUTHORS
|
||||
Stephen Hemminger <shemming@brocade.com>
|
Loading…
Reference in New Issue
Block a user