PTC MKS Toolkit Knowledge Base

Section:IO
Product:MKS Toolkit (All)
Version:
OS:All
Keywords:line termination, CR, LF, NL, convert
Category:Utilities/Knowledge Base


How can I switch text files between UNIX and PC format?


The MKS Toolkit products include a command called flip which allows you to switch between the single newline character, used for line termination in UNIX files (ie. \n), and the carriage return + linefeed format used on PC's (ie. \r\n). To move from PC to UNIX, use flip -u, and from UNIX to PC, use flip -d.