Re: [Toybox] [PATCH] Make ls.test work without awk.

2017-04-17 Thread Rob Landley
On 04/11/2017 02:56 PM, enh wrote: > Also, I want a grep option that ignores whitespace differences like > patch -l does. Squash all runs of whitespace to one ascii 32 space > character, then compare. Alas I'd probably have to use a --longopt for > the name and I dislike those

Re: [Toybox] [PATCH] Make ls.test work without awk.

2017-04-11 Thread enh
On Tue, Apr 11, 2017 at 12:14 PM, Rob Landley wrote: > On 04/05/2017 12:28 PM, enh wrote: > > tests/ls.test | 4 > > 1 file changed, 4 insertions(+) > > This patch removes no lines, it just adds a new test. How does this make > it work without awk in a way that wasn't

Re: [Toybox] [PATCH] Make ls.test work without awk.

2017-04-11 Thread Rob Landley
On 04/11/2017 02:14 PM, Rob Landley wrote: > Except... looking in ls there's code to do this. Why isn't it > triggering... Huh, Izabera pointed out that ubuntu's ls defaults to -q > and so I made it do that, and -q trumps -b. Blah. > > Ok, fixed and my code is escaping \e which ubuntu's ls isn't.

Re: [Toybox] [PATCH] Make ls.test work without awk.

2017-04-11 Thread Rob Landley
On 04/05/2017 12:28 PM, enh wrote: > tests/ls.test | 4 > 1 file changed, 4 insertions(+) This patch removes no lines, it just adds a new test. How does this make it work without awk in a way that wasn't previously the case? (The description doesn't match what the patch does?) Also, minor

[Toybox] [PATCH] Make ls.test work without awk.

2017-04-05 Thread enh
--- tests/ls.test | 4 1 file changed, 4 insertions(+) From 07389a6dca9572e4377d9fbd6c3d82a0610229d4 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 5 Apr 2017 10:27:58 -0700 Subject: [PATCH] Make ls.test work without awk. --- tests/ls.test | 4 1 file