lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170907095621.085155ee@xeon-e3>
Date:   Thu, 7 Sep 2017 09:56:21 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     John Kodis <john.m.kodis@...a.gov>
Cc:     netdev@...r.kernel.org
Subject: Re: Bad escapes in ip -online

On Thu, 7 Sep 2017 12:08:56 -0400
John Kodis <john.m.kodis@...a.gov> 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.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ