rsregression(2): unix-compatability fixes