ModifyNewLineChar.pl - Modify new line char(s)
ModifyNewLineChar.pl File(s)...
ModifyNewLineChar.pl [-h, --help] [-m, --mode Unix | Mac | Windows] [-o, --overwrite] [-r, --root rootname] [-w, --workingdir dirname] File(s)...
Modify new line char(s) in ASCII files to interchange among Unix, Windows, and Mac formats.
Print this help message.
New line char(s) mode. Possible values: Unix, Mac, or Windows. Default: Unix. Here are default values for new line char(s): Unix - \n; Windows: \r\n; Mac - \r
Overwrite existing files.
New text file name is generated using the root: <Root>.<Ext>. Default new file name: <InitialFileName><Mode>.<InitialFileExt>. This option is ignored for multiple input files.
Location of working directory. Default: current directory.
To use Unix new line char and generate NewSample1.csv file, type:
To use Mac new line char and generate NewSample1.sdf file, type:
To use Windows new line chars and generate NewSample1.csv file, type:
Copyright (C) 2024 Manish Sud. All rights reserved.
This file is part of MayaChemTools.
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.