IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes fixcrlf Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "fixcrlf" Watch "fixcrlf" New topic
Author

fixcrlf

T. Anthony Chen
Ranch Hand

Joined: Jul 28, 2004
Posts: 38
Hi, fellow ranchers.

I am using fixcrlf to clean up the eol characters in some files. I noticed that this command changes some binary files (dll, jar, etc.). This might be caused by bytes that happen to match the cr or lf characters. So I try to limit what the command touches to text based files only. But I can't find a way to specify that. Is there a way to apply this command on text files only and leave the binary files alone?

Thanks.


T. Anthony Chen<br />---------------<br />SCJP, SCJD, SCBCD, SCWCD, SCEA
 
 
subject: fixcrlf
 
Threads others viewed
never seen it before
Byte vs Character streams
IO Streams and Characters.
ANT FTP download new line problem.
sending jar file in a binary SMS
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture