![]() ![]() Convert file INFILE and write output to file OUTFILE. In Mac mode Unix line endings are changed to two Mac line endings. Unix2dos: Only Unix line endings are changed to two DOS line endings. In Mac mode only Mac line endings are changed to two Unix line endings. l, -newline Add additional newline.ĭos2unix: Only DOS line endings are changed to two Unix line endings. k, -keepdate Keep the date stamp of output file same as input file. f, -force Force conversion of all files. Where CONVMODE is one of: ascii, 7bit, iso, mac with ascii being the default. ![]() OPTIONS -c, -convmode CONVMODE Set conversion mode. Mac OS X is Unix based and has the same line endings as Unix. In Mac text files, prior to Mac OS X, line endings exist out of a single Carriage Return character. In Unix text files line endings exists out of a single Newline character which is equal to a DOS Line Feed ( LF) character. In DOS/Windows text files line endings exist out of a combination of two characters: a Carriage Return ( CR) followed by a Line Feed ( LF). Binary files and non-regular files, such as soft links, are automatically skipped, unless conversion is forced.ĭos2unix has a few conversion modes similar to dos2unix under SunOS/Solaris. Unix2dos ĭESCRIPTION The Dos2unix package includes utilities "dos2unix" and "unix2dos" to convert plain text files in DOS or MAC format to UNIX format and vice versa. NAME dos2unix - DOS/MAC to UNIX and vice versa text file format converter SYNOPSISĭos2unix
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |