convert text files to QNX 2, QNX 4, or DOS format (QNX)
textto -c|l|r [-z] file...
Change any QNX 2 record separators in prog.c to QNX 4 line feeds:
textto -l prog.c
Change any QNX 4 line feeds in all of the .h files in the current directory to QNX 2 record separators:
textto -r *.h
Change any QNX 4 line feeds in all of the .txt files in the current directory to DOS CR/LFs:
textto -c *.txt
The textto utility lets you convert text files to QNX 2, QNX 4/UNIX, or DOS format. The -z option can be used to strip ^Z codes from DOS-based files. Some DOS programs use this character as an end-of-file indicator.