Re: [hackers] [sbase][PATCH] grep: remove = flag from readme

2016-04-03 Thread Mattias Andrée
On Sun, 3 Apr 2016 14:55:35 -0700 Eric Pruitt wrote: > On Sun, Apr 03, 2016 at 11:50:08PM +0200, Mattias Andrée > wrote: > > That works with musl but not glibc. > > If you use 'setlocale(LC_ALL, "")' with GCC, grep behaves > as expected: I assume you mean glibc. Does

Re: [hackers] [sbase][PATCH] grep: remove = flag from readme

2016-04-03 Thread Eric Pruitt
On Sun, Apr 03, 2016 at 11:50:08PM +0200, Mattias Andrée wrote: > That works with musl but not glibc. If you use 'setlocale(LC_ALL, "")' with GCC, grep behaves as expected: sbase$ echo äö | ./grep '[å]' (1) sbase$ echo å | ./grep '[å]' å Eric

Re: [hackers] [sbase][PATCH] grep: remove = flag from readme

2016-04-03 Thread Mattias Andrée
That works with musl but not glibc. On Sun, 3 Apr 2016 23:39:38 +0200 FRIGN wrote: > On Sun, 3 Apr 2016 23:35:21 +0200 > Mattias Andrée wrote: > > Hey Mattias, > > > Perhaps it could be noted. But it fails > > with both musl and glibc. I think we need new > >

Re: [hackers] [sbase][PATCH] grep: remove = flag from readme

2016-04-03 Thread FRIGN
On Sun, 3 Apr 2016 23:35:21 +0200 Mattias Andrée wrote: Hey Mattias, > Perhaps it could be noted. But it fails > with both musl and glibc. I think we need new > regex engine, perhaps adapted from musl, > that supports NUL bytes and UTF-8 transparently. you could also try a

Re: [hackers] [sbase][PATCH] grep: add -r

2016-04-03 Thread Mattias Andrée
On Sun, 3 Apr 2016 22:31:30 +0200 FRIGN wrote: > On Wed, 30 Mar 2016 05:23:08 +0200 > Mattias Andrée wrote: > > > Unlike your usual grep -r, this implementation > > uses breadth-first search. It usually finds > > makes it find what you are looking for faster.

Re: [hackers] [sbase][PATCH] grep: remove = flag from readme

2016-04-03 Thread Mattias Andrée
Perhaps it could be noted. But it fails with both musl and glibc. I think we need new regex engine, perhaps adapted from musl, that supports NUL bytes and UTF-8 transparently. maandree On Sun, 3 Apr 2016 22:30:45 +0200 FRIGN wrote: > On Wed, 30 Mar 2016 19:01:16 +0200 > Mattias

Re: [hackers] [sbase][PATCH] grep: add -r

2016-04-03 Thread FRIGN
On Wed, 30 Mar 2016 05:23:08 +0200 Mattias Andrée wrote: > Unlike your usual grep -r, this implementation > uses breadth-first search. It usually finds > makes it find what you are looking for faster. Try working with recurse() in libutil. Cheers FRIGN -- FRIGN

Re: [hackers] [sbase][PATCH] grep: remove = flag from readme

2016-04-03 Thread FRIGN
On Wed, 30 Mar 2016 19:01:16 +0200 Mattias Andrée wrote: Hey Mattias, > $ echo äö | ./grep [å] > äö > > This is not want one expects from > a program that supports UTF-8. I assume the proper way here would be to add a note on the manpage that this highly depends on the

[hackers] [farbfeld] Remove line-breaks from Makefile || FRIGN

2016-04-03 Thread git
commit d8796e33f347b92a6526a1f3e6da8f5ddae7391b Author: FRIGN AuthorDate: Sun Apr 3 22:17:33 2016 +0200 Commit: FRIGN CommitDate: Sun Apr 3 22:17:33 2016 +0200 Remove line-breaks from Makefile Even though I like line-length limits, it imposed a

[hackers] [farbfeld] Makefile improvements || Hiltjo Posthuma

2016-04-03 Thread git
commit 47a5f38ce9d44b5c3c0dad9e7824c8e2156a203d Author: Hiltjo Posthuma AuthorDate: Sun Apr 3 21:44:20 2016 +0200 Commit: FRIGN CommitDate: Sun Apr 3 22:07:12 2016 +0200 Makefile improvements - be verbose by default: don't hide the

Re: [hackers] [dmenu][PATCH] history navigation

2016-04-03 Thread Anselm R Garbe
On 3 April 2016 at 05:35, crispyf...@163.com wrote: > This patch provides the ability for history navigation similar to that of > bash. Press alt+p for the previous history and alt+n for the next. Set the > maximum number of histories with a new variable 'maxhist' in

[hackers] [farbfeld] don't link against unneeded libs || Hiltjo Posthuma

2016-04-03 Thread git
commit 7f295f8c100a504c305d537bd3fde6492f15ef7a Author: Hiltjo Posthuma AuthorDate: Thu Mar 24 19:09:41 2016 +0100 Commit: FRIGN CommitDate: Sun Apr 3 20:39:13 2016 +0200 don't link against unneeded libs - jpg2ff requires libjpeg -

[hackers] [farbfeld] fix bugs introduced by refactor f0a4ce113d0e9dc50110a0ad9e98433d05aa2307 || Hiltjo Posthuma

2016-04-03 Thread git
commit 264979bf52261cb461212be8978c2a4697aa2e80 Author: Hiltjo Posthuma AuthorDate: Thu Mar 24 18:45:57 2016 +0100 Commit: FRIGN CommitDate: Sun Apr 3 20:39:13 2016 +0200 fix bugs introduced by refactor f0a4ce113d0e9dc50110a0ad9e98433d05aa2307

[hackers] [farbfeld] add ff2jpg tool, convert farbfeld images to RGB JPEG || Hiltjo Posthuma

2016-04-03 Thread git
commit 34e9cba51f5149da0670b32101e23b4d76e20d61 Author: Hiltjo Posthuma AuthorDate: Thu Mar 24 19:17:48 2016 +0100 Commit: FRIGN CommitDate: Sun Apr 3 20:39:13 2016 +0200 add ff2jpg tool, convert farbfeld images to RGB JPEG diff --git