%bte.doc super="item.bte" %> <%bte.tpl name=pageTitle%>Line Ending Conversion<%/bte.tpl%> <%bte.tpl name=description%>Line separator adjuster that can convert text files to DOS, Windows, Unix, Java, or Macintosh format.<%/bte.tpl%> <%bte.tpl name=keywords%>modify line endings, line ends library, end of line modifications, java library for line ends<%/bte.tpl%> <%bte.tpl name=content%>
Converts text files so that they can be read by text editors on various systems. Text editors such as Notepad often display squares in place of line endings they can't understand, causing text formatting to be lost.
To run the program use the following command line:
java -classpath utils.jar com.Ostermiller.util.LineEnds <files>
LineEnds [-dnrsfvqQ] <files> Adjusts the line endings in files. If no files are specified standard in and out will be used. --help Print this help message. --version Print out the version number. --about Print out license and contact info. -d --windows --dos Use the Windows/DOS line ending. -n --unix --java Use the UNIX/Java line ending. -r --mac Use the Macintosh line ending. -s --system Use the current system's line ending. (default) -f --force Always modify files, even binary files. --noforce Don't modify binary files. (default) -v --verbose Print a message for each file modified. -q --quiet Print error messages. (default) -Q --reallyquiet Print nothing.
[Download /w Source | Version History | Browse Source | Documentation]
<%/bte.tpl%> <%/bte.doc%>