Mercurial > repos > deepakjadmin > mayatool3_test3
comparison mayachemtools/docs/scripts/html/JoinTextFiles.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:JoinTextFiles.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="./JoinSDFiles.html" title="JoinSDFiles.html">Previous</a> <a href="./index.html" title="Table of Contents">TOC</a> <a href="./MACCSKeysFingerprints.html" title="MACCSKeysFingerprints.html">Next</a></td><td width="34%" align="middle"><strong>JoinTextFiles.pl</strong></td><td width="33%" align="right"><a href="././code/JoinTextFiles.html" title="View source code">Code</a> | <a href="./../pdf/JoinTextFiles.pdf" title="PDF US Letter Size">PDF</a> | <a href="./../pdfgreen/JoinTextFiles.pdf" title="PDF US Letter Size with narrow margins: www.changethemargins.com">PDFGreen</a> | <a href="./../pdfa4/JoinTextFiles.pdf" title="PDF A4 Size">PDFA4</a> | <a href="./../pdfa4green/JoinTextFiles.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>JoinTextFiles.pl - Join multiple CSV or TSV text files into a single text file</p> | |
22 <p> | |
23 </p> | |
24 <h2>SYNOPSIS</h2> | |
25 <p>JoinTextFiles.pl TextFiles...</p> | |
26 <p>JoinTextFiles.pl [<strong>-f, --fast</strong>] [<strong>-h, --help</strong>] [<strong>--indelim</strong> comma | semicolon] | |
27 [<strong>-l, --label</strong> yes | no] [<strong>-o, --overwrite</strong>] [<strong>--outdelim</strong> comma | tab | semicolon] | |
28 [<strong>-q, --quote</strong> yes | no] [<strong>-r, --root</strong> rootname] [<strong>-w, --workingdir</strong> dirname] TextFiles...</p> | |
29 <p> | |
30 </p> | |
31 <h2>DESCRIPTION</h2> | |
32 <p>Multiple CSV or TSV <em>TextFiles</em> are joined to generate a single text file. The | |
33 file names are separated by spaces. The valid file extensions are <em>.csv</em> and <em>.tsv</em> | |
34 for comma/semicolon and tab delimited text files respectively. All other file names | |
35 are ignored. All the text files in a current directory can be specified by <em>*.csv</em>, | |
36 <em>*.tsv</em>, or the current directory name. The <strong>--indelim</strong> option determines the | |
37 format of <em>TextFiles</em>. Any file which doesn't correspond to the format indicated | |
38 by <strong>--indelim</strong> option is ignored.</p> | |
39 <p> | |
40 </p> | |
41 <h2>OPTIONS</h2> | |
42 <dl> | |
43 <dt><strong><strong>-f, --fast</strong></strong></dt> | |
44 <dd> | |
45 <p>In this mode, <strong>--indelim</strong> and <strong>-q --quote</strong> options are ignored. The format of | |
46 input and output file(s) are assumed to be similar. And the text lines from <em>TextFiles</em> | |
47 are simply transferred to output file without any processing.</p> | |
48 </dd> | |
49 <dt><strong><strong>-h, --help</strong></strong></dt> | |
50 <dd> | |
51 <p>Print this help message.</p> | |
52 </dd> | |
53 <dt><strong><strong>--indelim</strong> <em>comma | semicolon</em></strong></dt> | |
54 <dd> | |
55 <p>Input delimiter for CSV <em>TextFile(s)</em>. Possible values: <em>comma or semicolon</em>. | |
56 Default value: <em>comma</em>. For TSV files, this option is ignored and <em>tab</em> is used as a | |
57 delimiter.</p> | |
58 </dd> | |
59 <dt><strong><strong>-l, --label</strong> <em>yes | no</em></strong></dt> | |
60 <dd> | |
61 <p>First line contains column labels. Possible values: <em>yes or no</em>. Default value: <em>yes</em>.</p> | |
62 </dd> | |
63 <dt><strong><strong>-o, --overwrite</strong></strong></dt> | |
64 <dd> | |
65 <p>Overwrite existing files.</p> | |
66 </dd> | |
67 <dt><strong><strong>--outdelim</strong> <em>comma | tab | semicolon</em></strong></dt> | |
68 <dd> | |
69 <p>Output text file delimiter. Possible values: <em>comma, tab, or semicolon</em> | |
70 Default value: <em>comma</em>.</p> | |
71 </dd> | |
72 <dt><strong><strong>-q, --quote</strong> <em>yes | no</em></strong></dt> | |
73 <dd> | |
74 <p>Put quotes around column values in output text file. Possible values: <em>yes or | |
75 no</em>. Default value: <em>yes</em>.</p> | |
76 </dd> | |
77 <dt><strong><strong>-r, --root</strong> <em>rootname</em></strong></dt> | |
78 <dd> | |
79 <p>New text file name is generated using the root: <Root>.<Ext>. Default file | |
80 name: <FirstTextFileName>1To<Count>Joined.<Ext>. The csv, and tsv | |
81 <Ext> values are used for comma/semicolon, and tab delimited text files | |
82 respectively.</p> | |
83 </dd> | |
84 <dt><strong><strong>-w, --workingdir</strong> <em>dirname</em></strong></dt> | |
85 <dd> | |
86 <p>Location of working directory. Default: current directory.</p> | |
87 </dd> | |
88 </dl> | |
89 <p> | |
90 </p> | |
91 <h2>EXAMPLES</h2> | |
92 <p>To join CSV text files, type:</p> | |
93 <div class="ExampleBox"> | |
94 % JoinTextFiles.pl -o Sample1.csv Sample2.csv | |
95 <br/>% JoinTextFiles.pl -o *.csv</div> | |
96 <p>To join Sample*.tsv TSV text files into a NewSample.tsv file, type:</p> | |
97 <div class="ExampleBox"> | |
98 % JoinTextFiles.pl -o -r NewSample Sample*.tsv</div> | |
99 <p> | |
100 </p> | |
101 <h2>AUTHOR</h2> | |
102 <p><a href="mailto:msud@san.rr.com">Manish Sud</a></p> | |
103 <p> | |
104 </p> | |
105 <h2>SEE ALSO</h2> | |
106 <p><a href="./MergeTextFiles.html">MergeTextFiles.pl</a>, <a href="./ModifyTextFilesFormat.html">ModifyTextFilesFormat.pl</a>, <a href="./SplitTextFiles.html">SplitTextFiles.pl</a> | |
107 </p> | |
108 <p> | |
109 </p> | |
110 <h2>COPYRIGHT</h2> | |
111 <p>Copyright (C) 2015 Manish Sud. All rights reserved.</p> | |
112 <p>This file is part of MayaChemTools.</p> | |
113 <p>MayaChemTools is free software; you can redistribute it and/or modify it under | |
114 the terms of the GNU Lesser General Public License as published by the Free | |
115 Software Foundation; either version 3 of the License, or (at your option) | |
116 any later version.</p> | |
117 <p> </p><p> </p><div class="DocNav"> | |
118 <table width="100%" border=0 cellpadding=0 cellspacing=2> | |
119 <tr align="left" valign="top"><td width="33%" align="left"><a href="./JoinSDFiles.html" title="JoinSDFiles.html">Previous</a> <a href="./index.html" title="Table of Contents">TOC</a> <a href="./MACCSKeysFingerprints.html" title="MACCSKeysFingerprints.html">Next</a></td><td width="34%" align="middle"><strong>March 29, 2015</strong></td><td width="33%" align="right"><strong>JoinTextFiles.pl</strong></td></tr> | |
120 </table> | |
121 </div> | |
122 <br /> | |
123 <center> | |
124 <img src="../../images/h2o2.png"> | |
125 </center> | |
126 </body> | |
127 </html> |