dos2unix conversion
style cleanup, add support for setting minimum value