Package: ugrep
Version: 3.3.3+dfsg-1
Searching for a string in /sys/kernel with grep terminates within 3 seconds
(and spits out many error messages, which is o.k.). Searching for the same
string with ugrep (and avoiding following references) doesn't terminate over
half an hour and spits out no error messages. Therefore, ugrep has a deficiency
somewhere, or grep doesn't do its job thoroughly.
# time -p grep -i -r dvistyle /sys/kernel
… (error messages)…
real 2,75 user 0,05 sys 1,06
# date && time -p ugrep -i -r -p dvistyle /sys/kernel
Mi 9. Mär 20:34:45 CET 2022
^Creal 2162,92 user 0,04 sys 0,28
# date Mi 9. Mär 21:10:49 CET 2022 #