clone: bsd shell portability fix