[Toybox] grep corner cases

Rob Landley rob at landley.net
Wed Aug 21 12:26:42 PDT 2013


On 08/20/2013 05:10:48 PM, Strake wrote:
> On 20/08/2013, Rob Landley <rob at landley.net> wrote:
> > On 08/20/2013 12:29:08 PM, Felix Janda wrote:
> >> But maybe it's a reason to spend some thought on the validity of  
> the
> >> test case and maybe do some testing against other implementations.  
> For
> >> example busybox grep also doesn't output anything.
> >
> > What other implementations? -o is a gnu/dammit extension.
> 
> OpenBSD, for one [1].
> 
> [1] http://www.openbsd.org/cgi-bin/man.cgi?query=grep

Sigh. I should grab at least one bsd test environment. Let's see,  
google finds livecd-openbsd on sourceforge... 1.6 gig download.  
Lunchtime...

[time passes]

Ok, downloaded ready to boot under qemu, let's give it a meg of ram...

[time passes]

I think it may have downloaded in less time than it's taking to boot...

[time passes]

It booted to X and gave me a... login prompt? It wants a username and  
password for a _livecd_?

Um, try root with no password. Try root/root. Give up, delete the iso,  
decide not to care about OpenBSD for another yer...

*shrug* I'll take your word for what openbsd does...

Rob


More information about the Toybox mailing list