> Is this a matter of efficiency alone?

The C implementation is straightforward and short. It doesn't get
simpler if you wrote it in a higher level language. Your shell script
is IMO much harder to understand.

Reply via email to