Task to convert text source files to local OS formatting conventions, as well as repair text files damaged by misconfigured or misguided editors or file transfer programs.
This task can take the following arguments:
- srcdir
- destdir
- include
- exclude
- cr
- tab
- eof
Of these arguments, only
sourcedir is required.
When this task executes, it will scan the srcdir based on the include and exclude properties.
Warning: do not run on binary or carefully formatted files. this may sound obvious, but if you don't specify asis, presume that your files are going to be modified. If you want tabs to be fixed, whitespace characters may be added or removed as necessary. Similarly, for CR's - in fact cr="add" can result in cr characters being removed. (to handle cases where other programs have converted CRLF into CRCRLF).
@author Sam Ruby rubys@us.ibm.com