comparison mayachemtools/docs/scripts/html/ModifyNewLineChar.html @ 0:73ae111cf86f draft

Uploaded
author deepakjadmin
date Wed, 20 Jan 2016 11:55:01 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:73ae111cf86f
1 <html>
2 <head>
3 <title>MayaChemTools:Documentation:ModifyNewLineChar.pl</title>
4 <meta http-equiv="content-type" content="text/html;charset=utf-8">
5 <link rel="stylesheet" type="text/css" href="../../css/MayaChemTools.css">
6 </head>
7 <body leftmargin="20" rightmargin="20" topmargin="10" bottommargin="10">
8 <br/>
9 <center>
10 <a href="http://www.mayachemtools.org" title="MayaChemTools Home"><img src="../../images/MayaChemToolsLogo.gif" border="0" alt="MayaChemTools"></a>
11 </center>
12 <br/>
13 <div class="DocNav">
14 <table width="100%" border=0 cellpadding=0 cellspacing=2>
15 <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>
16 </table>
17 </div>
18 <p>
19 </p>
20 <h2>NAME</h2>
21 <p>ModifyNewLineChar.pl - Modify new line char(s)</p>
22 <p>
23 </p>
24 <h2>SYNOPSIS</h2>
25 <p>ModifyNewLineChar.pl File(s)...</p>
26 <p>ModifyNewLineChar.pl [<strong>-h, --help</strong>] [<strong>-m, --mode</strong> Unix | Mac | Windows] [<strong>-o, --overwrite</strong>]
27 [<strong>-r, --root</strong> rootname] [<strong>-w, --workingdir</strong> dirname] File(s)...</p>
28 <p>
29 </p>
30 <h2>DESCRIPTION</h2>
31 <p>Modify new line char(s) in ASCII files to interchange among Unix, Windows, and Mac
32 formats.</p>
33 <p>
34 </p>
35 <h2>OPTIONS</h2>
36 <dl>
37 <dt><strong><strong>-h, --help</strong></strong></dt>
38 <dd>
39 <p>Print this help message.</p>
40 </dd>
41 <dt><strong><strong>-m, --mode</strong> <em>Unix | Mac | Windows</em></strong></dt>
42 <dd>
43 <p>New line char(s) mode. Possible values: <em>Unix, Mac, or Windows</em>. Default: <em>Unix</em>. Here
44 are default values for new line char(s): <em>Unix - \n; Windows: \r\n; Mac - \r</em></p>
45 </dd>
46 <dt><strong><strong>-o, --overwrite</strong></strong></dt>
47 <dd>
48 <p>Overwrite existing files.</p>
49 </dd>
50 <dt><strong><strong>-r, --root</strong> <em>rootname</em></strong></dt>
51 <dd>
52 <p>New text file name is generated using the root: &lt;Root&gt;.&lt;Ext&gt;. Default new file name:
53 &lt;InitialFileName&gt;&lt;Mode&gt;.&lt;InitialFileExt&gt;. This option is ignored for multiple input files.</p>
54 </dd>
55 <dt><strong><strong>-w, --workingdir</strong> <em>dirname</em></strong></dt>
56 <dd>
57 <p>Location of working directory. Default: current directory.</p>
58 </dd>
59 </dl>
60 <p>
61 </p>
62 <h2>EXAMPLES</h2>
63 <p>To use Unix new line char and generate NewSample1.csv file, type:</p>
64 <div class="ExampleBox">
65 % ModifyNewLineChar.pl -m Unix -r NewSample1 -o Sample1.csv</div>
66 <p>To use Mac new line char and generate NewSample1.sdf file, type:</p>
67 <div class="ExampleBox">
68 % ModifyNewLineChar.pl -m Mac -r NewSample1 -o Sample1.sdf</div>
69 <p>To use Windows new line chars and generate NewSample1.csv file, type:</p>
70 <div class="ExampleBox">
71 % ModifyNewLineChar.pl -m Windows -r NewSample1 -o Sample1.csv</div>
72 <p>
73 </p>
74 <h2>AUTHOR</h2>
75 <p><a href="mailto:msud@san.rr.com">Manish Sud</a></p>
76 <p>
77 </p>
78 <h2>SEE ALSO</h2>
79 <p><a href="./ModifyTextFilesFormat.html">ModifyTextFilesFormat.pl</a>
80 </p>
81 <p>
82 </p>
83 <h2>COPYRIGHT</h2>
84 <p>Copyright (C) 2015 Manish Sud. All rights reserved.</p>
85 <p>This file is part of MayaChemTools.</p>
86 <p>MayaChemTools is free software; you can redistribute it and/or modify it under
87 the terms of the GNU Lesser General Public License as published by the Free
88 Software Foundation; either version 3 of the License, or (at your option)
89 any later version.</p>
90 <p>&nbsp</p><p>&nbsp</p><div class="DocNav">
91 <table width="100%" border=0 cellpadding=0 cellspacing=2>
92 <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>
93 </table>
94 </div>
95 <br />
96 <center>
97 <img src="../../images/h2o2.png">
98 </center>
99 </body>
100 </html>