bug#25009: ls -b fails to escape '-' c-style (ls (GNU coreutils) 8.21)

2016-11-23 Thread Pádraig Brady
On 23/11/16 23:34, Pádraig Brady wrote: > On 23/11/16 23:27, Eric Blake wrote: >> tag 25009 notabug >> thanks >> >> On 11/23/2016 05:02 PM, Kay Parker wrote: >>> ls -b (ls (GNU coreutils) 8.21): fails to escape '-' >>> 1\ 2\ 3\ -\ 4\ -5\ 6 >>> should be: 1\ 2\ 3\ \-\ 4\ \-5\ 6 >> >> Why? The docu

bug#25009: ls -b fails to escape '-' c-style (ls (GNU coreutils) 8.21)

2016-11-23 Thread Pádraig Brady
On 23/11/16 23:27, Eric Blake wrote: > tag 25009 notabug > thanks > > On 11/23/2016 05:02 PM, Kay Parker wrote: >> ls -b (ls (GNU coreutils) 8.21): fails to escape '-' >> 1\ 2\ 3\ -\ 4\ -5\ 6 >> should be: 1\ 2\ 3\ \-\ 4\ \-5\ 6 > > Why? The documentation states: > > -b, --escape

bug#25009: ls -b fails to escape '-' c-style (ls (GNU coreutils) 8.21)

2016-11-23 Thread Eric Blake
tag 25009 notabug thanks On 11/23/2016 05:02 PM, Kay Parker wrote: > ls -b (ls (GNU coreutils) 8.21): fails to escape '-' > 1\ 2\ 3\ -\ 4\ -5\ 6 > should be: 1\ 2\ 3\ \-\ 4\ \-5\ 6 Why? The documentation states: -b, --escape print C-style escapes for nongraphic characters but

bug#25009: ls -b fails to escape '-' c-style (ls (GNU coreutils) 8.21)

2016-11-23 Thread Kay Parker
ls -b (ls (GNU coreutils) 8.21): fails to escape '-' 1\ 2\ 3\ -\ 4\ -5\ 6 should be: 1\ 2\ 3\ \-\ 4\ \-5\ 6 -- Kay Parker kaypar...@mailite.com -- http://www.fastmail.com - Does exactly what it says on the tin