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] Git mirror at https://github.com/gfto/toybox

2013-07-24 Thread Rob Landley
Georgi: since I haven't gotten my own git mirror of toybox up yet, do you mind if I link to yours from the toybox website? How often is it updated? (I applied Strake's grep commit last night and the git mirror hasn't got it yet. But it's only been ~8 hours. Updated daily, perhaps?)

Re: [Toybox] [TOY] lspci - no *alloc

2013-07-24 Thread Felix Janda
Attached Isaac's toy edited to use toybuf instead of dynamic memory allocation. It could look prettier, though... Felix /* * lspci - written by Isaac Dunham USE_LSPCI(NEWTOY(lspci, emkns:, TOYFLAG_USR|TOYFLAG_BIN)) config LSPCI bool lspci default n help usage: lspci [-ekmn] List

[Toybox] [patch] grep: add -w flag

2013-07-24 Thread Strake
# HG changeset patch # User Strake # Date 1055084945 18000 # Node ID 50b52474ea9f8fb3b016e1bc3e41780f8d943c0e # Parent 8ad85a95f7c3b75214fbd3a46fe834de45c39417 grep: add -w flag diff -r 8ad85a95f7c3 -r 50b52474ea9f toys/pending/grep.c --- a/toys/pending/grep.c Tue Jul 23 20:19:31 2013

[Toybox] [patch] grep: add -b flag

2013-07-24 Thread Strake
# HG changeset patch # User Strake # Date 1055085317 18000 # Node ID 7fd031a672f6f6835373b75d0987a61da2c8d3bc # Parent 50b52474ea9f8fb3b016e1bc3e41780f8d943c0e grep: add -b flag diff -r 50b52474ea9f -r 7fd031a672f6 toys/pending/grep.c --- a/toys/pending/grep.c Sun Jun 08 10:09:05 2003

[Toybox] [patch] grep: s/astrcat/x/g

2013-07-24 Thread Strake
# HG changeset patch # User Strake # Date 1374665513 18000 # Node ID 16ed6e15cd35c0d9798150e769de3155dc6a2e9b # Parent 7fd031a672f6f6835373b75d0987a61da2c8d3bc grep: s/astrcat/x/g diff -r 7fd031a672f6 -r 16ed6e15cd35 toys/pending/grep.c --- a/toys/pending/grep.c Sun Jun 08 10:15:17 2003

[Toybox] [CLEANUP] logger

2013-07-24 Thread Felix Janda
Various fixes to logger in below patch. Mainly inline parse_priority(). Many other small changes e.g. s/const//, move around some variables, ... -Felix # HG changeset patch # User Felix Janda felix.ja...@posteo.de # Date 1374706109 -7200 # Node ID 8cc26924c2ef2e862c975a31167a685e18f555ec #

Re: [Toybox] [TOY] lspci - no *alloc

2013-07-24 Thread Isaac
On Wed, Jul 24, 2013 at 09:20:51PM +0200, Felix Janda wrote: Attached Isaac's toy edited to use toybuf instead of dynamic memory allocation. It could look prettier, though... Felix Broken: /toybox lspci -e 00:00.0 Class 0600: 8086 :27ac 00:02.0 Class 0300: 8086 :27ae .. /toybox lspci