Re: [dev] alternatives to find for querying the filesystem

From: Andrew Gwozdziewycz <web_AT_apgwoz.com>
Date: Thu, 12 Dec 2013 17:16:47 -0500

Huge copy paste fail!

> Also, just for kicks I ran a comparison:
>
> $ time find / | grep 'bin' > /dev/null
> real 0m8.122s
> user 0m3.101s
> sys 0m2.519s
>
> $ time find / -regex 'bin' | grep
> real 0m18.795s
> user 0m3.394s
> sys 0m3.401s


That should have been

$ time find / -regexp 'bin' > /dev/null

for the second example


-- 
http://apgwoz.com
Received on Thu Dec 12 2013 - 23:16:47 CET

This archive was generated by hypermail 2.3.0 : Thu Dec 12 2013 - 23:24:13 CET