Thread (2 messages) flat view 2 messages, 2 authors, 2017-09-07

Re: Bad escapes in ip -online

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-09-07 16:56:29

On Thu, 7 Sep 2017 12:08:56 -0400
John Kodis [off-list ref] wrote:
The -online option to the 'ip link', 'ip addr', and perhaps others is 
putting out a backslash in places where a newline character should go, 
as so:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1000\    link/loopback 00:00:00:00:00:00 brd 
00:00:00:00:00:00

-- John.
The backslash is the virtual line separator in the one line format.
It is has always been that way, and programs parse the oneline output.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help