D2U


d2u
A PERL script that performs the same function as the UNIX equivalent of dos2unix and unix2dos utilities. Thus, convert text file from DOS format to ISO format, and viceversa. The script also has the additional functionality to traverse a directory tree.
  1. Download whack:
  2. You will probably need to change the following (with any text editor):
    The first line (it should point to your perl executable)
    • #!/usr/local/bin/perl
    If you don't know where to look, try:
    • % which perl
    This will give you the path of your executeable
  3. Make sure the script is executable:
    • % chmod 755 d2u.pl
  4. Look at the options:
    • % d2u.pl -h
  5. Try it. You'll like it:
    • % d2u.pl files

Paul Dutra
Comments: [email protected]
return home
Hosted by www.Geocities.ws

1