changed 3 syncs to sync

http://utcc.utoronto.ca/~cks/space/blog/unix/TheLegendOfSync
 pointed out by armin of #bash