remove -r option from read; it breaks bsd versions