made line feed character configurable over options