06.23
OpenBSD does not come with the dos2unix command which is used to convert Windows text files to UNIX format by removing the pesky ^M carriage returns.
Fortunately there is an alternative we can use in the shape of the UNIX tr command, the tr command reads from standard input to standard output and allows for the substitution or deletion of selected characters.
For example the following takes a Windows created text file and converts it to a more friendly UNIX format:
tr -d ’15’ < dirty-windows-file.txt > clean-unix-file.txt