On 3/26/25 4:35 PM, home user via users wrote:
Good evening,
Well, I though it was solved. But something is still awry....
-----
bash.3[ShiPin]: time grope -ob9LHPEaKY
Western/.Organ/organ_dir.txt
real 0m0.043s
user 0m0.010s
sys 0m0.016s
bash.4[ShiPin]: time Grope -ob9LHPEaKY
Western/.Organ/organ_dir.txt
real 7m15.297s
user 1m49.880s
sys 0m46.325s
bash.5[ShiPin]: alias | grep rope
alias Grope='~/myroot/testprogs/Grope'
alias grope='~/myroot/testprogs/grope'
bash.6[ShiPin]: cat ~/myroot/testprogs/Grope
grep -rile $1
bash.7[ShiPin]: cat ~/myroot/testprogs/grope
grep -rilIe $1
bash.8[ShiPin]:
-----
The results are correct. But notice that the case sensitive search took
over 7 1/4 MINUTES; the case INsensitive search took less than 1/20
second. That's a nearly 4 orders of magnitude difference! I would
think that the case INsensitive search would involve more processing,
and so should take longer. What's going on?
You've mixed up your option case. -i is insensitive. But both have
that. The difference is the -I which means "Grope" is searching all the
binary files as well.
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue