goto


Home

Free Source Code

Program d2u

Fact Sheet

Email us


Purple Sage Computing Solutions, Inc.

Program d2u

Home --> Fact Sheet --> Free Source Code -->d2u

About the Program d2u

Go directly to Downloads

The program d2u converts text files between Unix convention (lines end with a newline character) and DOS-Windows convention (lines end with CR-LF characters). The program can report the number of characters and lines processed.

SYNOPSIS:

d2u [options] input output

Options:

  • -d To DOS, causes d2u to treat its input file as a text file with the Unix convention newline and writes the text output file with the DOS convention CR-LF.
  • -u (Default) To Unix, causes d2u to treat its input file as a text file with the DOS convention CR-LF and writes the text output file with the Unix convention newline.
  • -v Verbose, causes d2u to print numbers of characters and lines processed, and a few other short messages.
  • -z Cntl-Z processing, causes d2u to treat a final control-Z especially. When processing to Unix, Cntl-Z will not appear. When processing to DOS, Cntl-Z will appear. Default is to treat the file as-is.

Back to the Top

Downloads

To download a source code for the d2u program, click d2u. This is a stand-alone ANSI C program which requires no other files.

Back to the Top

Please see our Fact Sheet, or E-mail us for more information.


Home - Fact Sheet - Free Source Code - Fortran Links - Email us

Back to the Top