r/shell • • Sep 05 '24

exponential search in bash

https://shscripts.com/exponential-search-in-bash/

There are multiple search algorithms around each having it's own purpose. Exponential search is one of them. Learn how to implement it in bash

0 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/b1nary1 Sep 08 '24

Let it be, but you are mixing something. That example can't be solved by "sort" alone