erikfrey / bashreduce

mapreduce in bash
MIT License
916 stars 88 forks source link

README unclear #5

Open zeisss opened 12 years ago

zeisss commented 12 years ago

Hi there,

I just started reading the README and was wondering about the first table (comparsing sort to br). What is the difference between the second and third row? It looks the same to me.

dakusui commented 9 years ago

Since this is quite old ticket, you might no longer be interested in it or already figured it out by yourself. But I would share my understanding for future reference of other people. bashreduce has two helper programs, brp and brm written in C. If you look into bashreduce's source, you will notice it uses brp and brm if they are installed automatically. But if not, it will fall back to awk or sort -m. The second column shows which mode was used, coreutils=awk+sort -m or brp/brm.

Going back to your question, in the second row, awk+sort were used and in the third brp/brm were used.