Re: [Toybox] [PATCH] grep: cleanup, add -Hs

2013-07-24 Thread Rob Landley
On 07/23/2013 08:22:08 PM, Strake wrote: # HG changeset patch # User Strake # Date 1374628771 18000 # Node ID 8ad85a95f7c3b75214fbd3a46fe834de45c39417 # Parent 019f54d50c8be39306675e0f182a124f6446307d grep Would have preferred a litle more description than that, but it's applied to my

[Toybox] [PATCH] grep: cleanup, add -Hs

2013-07-20 Thread Isaac
toybox uses xexit and error_exit instead of the standard C approach; this allows toys to be called without starting a new process. toys.exitval is the return value on exit. loopfiles will read from stdin if nothing is specified. POSIX specifies that grep shall by default print the line when only

Re: [Toybox] [PATCH] grep: cleanup, add -Hs

2013-07-20 Thread Isaac
On Sat, Jul 20, 2013 at 11:42:48AM -0500, Strake wrote: # HG changeset patch # User Strake # Date 1374338194 18000 # Node ID 24cd187521c1c89f16cddb9b346c1da7e900ecdd # Parent 1cf9c28012a76dd30cd1a7fcba8251b189d7df5a grep partly due to Isaac Dunham See inline comments below. diff -r