view mayachemtools/docs/scripts/html/ModifyNewLineChar.html @ 2:dfff2614510e draft

Deleted selected files
author deepakjadmin
date Wed, 20 Jan 2016 12:15:15 -0500
parents 73ae111cf86f
children
line wrap: on
line source

<html>
<head>
<title>MayaChemTools:Documentation:ModifyNewLineChar.pl</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../css/MayaChemTools.css">
</head>
<body leftmargin="20" rightmargin="20" topmargin="10" bottommargin="10">
<br/>
<center>
<a href="http://www.mayachemtools.org" title="MayaChemTools Home"><img src="../../images/MayaChemToolsLogo.gif" border="0" alt="MayaChemTools"></a>
</center>
<br/>
<div class="DocNav">
<table width="100%" border=0 cellpadding=0 cellspacing=2>
<tr align="left" valign="top"><td width="33%" align="left"><a href="./MergeTextFilesWithSD.html" title="MergeTextFilesWithSD.html">Previous</a>&nbsp;&nbsp;<a href="./index.html" title="Table of Contents">TOC</a>&nbsp;&nbsp;<a href="./ModifyPDBFiles.html" title="ModifyPDBFiles.html">Next</a></td><td width="34%" align="middle"><strong>ModifyNewLineChar.pl</strong></td><td width="33%" align="right"><a href="././code/ModifyNewLineChar.html" title="View source code">Code</a>&nbsp;|&nbsp;<a href="./../pdf/ModifyNewLineChar.pdf" title="PDF US Letter Size">PDF</a>&nbsp;|&nbsp;<a href="./../pdfgreen/ModifyNewLineChar.pdf" title="PDF US Letter Size with narrow margins: www.changethemargins.com">PDFGreen</a>&nbsp;|&nbsp;<a href="./../pdfa4/ModifyNewLineChar.pdf" title="PDF A4 Size">PDFA4</a>&nbsp;|&nbsp;<a href="./../pdfa4green/ModifyNewLineChar.pdf" title="PDF A4 Size with narrow margins: www.changethemargins.com">PDFA4Green</a></td></tr>
</table>
</div>
<p>
</p>
<h2>NAME</h2>
<p>ModifyNewLineChar.pl - Modify new line char(s)</p>
<p>
</p>
<h2>SYNOPSIS</h2>
<p>ModifyNewLineChar.pl File(s)...</p>
<p>ModifyNewLineChar.pl [<strong>-h, --help</strong>] [<strong>-m, --mode</strong> Unix | Mac | Windows] [<strong>-o, --overwrite</strong>]
[<strong>-r, --root</strong> rootname] [<strong>-w, --workingdir</strong> dirname] File(s)...</p>
<p>
</p>
<h2>DESCRIPTION</h2>
<p>Modify new line char(s) in ASCII files to interchange among Unix, Windows, and Mac
formats.</p>
<p>
</p>
<h2>OPTIONS</h2>
<dl>
<dt><strong><strong>-h, --help</strong></strong></dt>
<dd>
<p>Print this help message.</p>
</dd>
<dt><strong><strong>-m, --mode</strong> <em>Unix | Mac | Windows</em></strong></dt>
<dd>
<p>New line  char(s) mode. Possible values: <em>Unix, Mac, or Windows</em>. Default: <em>Unix</em>. Here
are default values for new line char(s): <em>Unix - \n; Windows: \r\n; Mac - \r</em></p>
</dd>
<dt><strong><strong>-o, --overwrite</strong></strong></dt>
<dd>
<p>Overwrite existing files.</p>
</dd>
<dt><strong><strong>-r, --root</strong> <em>rootname</em></strong></dt>
<dd>
<p>New text file name is generated using the root: &lt;Root&gt;.&lt;Ext&gt;. Default new file name:
&lt;InitialFileName&gt;&lt;Mode&gt;.&lt;InitialFileExt&gt;. This option is ignored for multiple input files.</p>
</dd>
<dt><strong><strong>-w, --workingdir</strong> <em>dirname</em></strong></dt>
<dd>
<p>Location of working directory. Default: current directory.</p>
</dd>
</dl>
<p>
</p>
<h2>EXAMPLES</h2>
<p>To use Unix new line char and generate NewSample1.csv file, type:</p>
<div class="ExampleBox">
    % ModifyNewLineChar.pl -m Unix -r NewSample1 -o Sample1.csv</div>
<p>To use Mac new line char and generate NewSample1.sdf file, type:</p>
<div class="ExampleBox">
    % ModifyNewLineChar.pl -m Mac -r NewSample1 -o Sample1.sdf</div>
<p>To use Windows new line chars and generate NewSample1.csv file, type:</p>
<div class="ExampleBox">
    % ModifyNewLineChar.pl -m Windows -r NewSample1 -o Sample1.csv</div>
<p>
</p>
<h2>AUTHOR</h2>
<p><a href="mailto:msud@san.rr.com">Manish Sud</a></p>
<p>
</p>
<h2>SEE ALSO</h2>
<p><a href="./ModifyTextFilesFormat.html">ModifyTextFilesFormat.pl</a>
</p>
<p>
</p>
<h2>COPYRIGHT</h2>
<p>Copyright (C) 2015 Manish Sud. All rights reserved.</p>
<p>This file is part of MayaChemTools.</p>
<p>MayaChemTools is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.</p>
<p>&nbsp</p><p>&nbsp</p><div class="DocNav">
<table width="100%" border=0 cellpadding=0 cellspacing=2>
<tr align="left" valign="top"><td width="33%" align="left"><a href="./MergeTextFilesWithSD.html" title="MergeTextFilesWithSD.html">Previous</a>&nbsp;&nbsp;<a href="./index.html" title="Table of Contents">TOC</a>&nbsp;&nbsp;<a href="./ModifyPDBFiles.html" title="ModifyPDBFiles.html">Next</a></td><td width="34%" align="middle"><strong>March 29, 2015</strong></td><td width="33%" align="right"><strong>ModifyNewLineChar.pl</strong></td></tr>
</table>
</div>
<br />
<center>
<img src="../../images/h2o2.png">
</center>
</body>
</html>