Re: [Toybox] [PATCH] toysh: [ isn't a bultin in single command binaries while test and [[ are. Also shut up arch by replacing egrep with grep -E

2024-02-12 Thread Mouse
>> Also, at least on arch linux, egrep has been replaced by a shell >> script that warns the user that egrep is deprecated, > Why did gnu do that? What's wrong with egrep? It's been part of the > linux command line as long as I've been using linux. Probably as long as Linux has been mature enoug

Re: [Toybox] [PATCH] toysh: [ isn't a bultin in single command binaries while test and [[ are. Also shut up arch by replacing egrep with grep -E

2024-02-12 Thread Rob Landley
On 2/10/24 21:22, Oliver Webb via Toybox wrote: > Hello, I was benchmarking toysh against shells like dash and bash by calling > the [ command > 1,000,000 times, assuming it was a builtin on toysh. > > dash and bash can do this in less than 10 seconds, while toysh takes 16.5 > _minutes_. After