Change Unix-style line endings to macOS-style. Replaces LF with CR. See also
unix2dos
,dos2unix
, andmac2unix
. More information: https://manned.org/unix2mac.
unix2mac path/to/file
unix2mac -n|--newfile path/to/file path/to/new_file
unix2mac -i|--info path/to/file
unix2mac --keep-bom|add-bom|remove-bom path/to/file