darwin and linux 'bash -c' diff implement.