Mercurial > repos > deepakjadmin > mayatool3_test2
comparison docs/scripts/txt/ModifyNewLineChar.txt @ 0:4816e4a8ae95 draft default tip
Uploaded
author | deepakjadmin |
---|---|
date | Wed, 20 Jan 2016 09:23:18 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4816e4a8ae95 |
---|---|
1 NAME | |
2 ModifyNewLineChar.pl - Modify new line char(s) | |
3 | |
4 SYNOPSIS | |
5 ModifyNewLineChar.pl File(s)... | |
6 | |
7 ModifyNewLineChar.pl [-h, --help] [-m, --mode Unix | Mac | Windows] [-o, | |
8 --overwrite] [-r, --root rootname] [-w, --workingdir dirname] File(s)... | |
9 | |
10 DESCRIPTION | |
11 Modify new line char(s) in ASCII files to interchange among Unix, | |
12 Windows, and Mac formats. | |
13 | |
14 OPTIONS | |
15 -h, --help | |
16 Print this help message. | |
17 | |
18 -m, --mode *Unix | Mac | Windows* | |
19 New line char(s) mode. Possible values: *Unix, Mac, or Windows*. | |
20 Default: *Unix*. Here are default values for new line char(s): *Unix | |
21 - \n; Windows: \r\n; Mac - \r* | |
22 | |
23 -o, --overwrite | |
24 Overwrite existing files. | |
25 | |
26 -r, --root *rootname* | |
27 New text file name is generated using the root: <Root>.<Ext>. | |
28 Default new file name: <InitialFileName><Mode>.<InitialFileExt>. | |
29 This option is ignored for multiple input files. | |
30 | |
31 -w, --workingdir *dirname* | |
32 Location of working directory. Default: current directory. | |
33 | |
34 EXAMPLES | |
35 To use Unix new line char and generate NewSample1.csv file, type: | |
36 | |
37 % ModifyNewLineChar.pl -m Unix -r NewSample1 -o Sample1.csv | |
38 | |
39 To use Mac new line char and generate NewSample1.sdf file, type: | |
40 | |
41 % ModifyNewLineChar.pl -m Mac -r NewSample1 -o Sample1.sdf | |
42 | |
43 To use Windows new line chars and generate NewSample1.csv file, type: | |
44 | |
45 % ModifyNewLineChar.pl -m Windows -r NewSample1 -o Sample1.csv | |
46 | |
47 AUTHOR | |
48 Manish Sud <msud@san.rr.com> | |
49 | |
50 SEE ALSO | |
51 ModifyTextFilesFormat.pl | |
52 | |
53 COPYRIGHT | |
54 Copyright (C) 2015 Manish Sud. All rights reserved. | |
55 | |
56 This file is part of MayaChemTools. | |
57 | |
58 MayaChemTools is free software; you can redistribute it and/or modify it | |
59 under the terms of the GNU Lesser General Public License as published by | |
60 the Free Software Foundation; either version 3 of the License, or (at | |
61 your option) any later version. | |
62 |