dos2unix
From EosPedia
dos2unix is Eos's Command that unifies newline characters to LF about ASCII file.
Contents
List of option
Main option
Option | Essential/Optional | Description | Default |
---|---|---|---|
-i | Essential | Input: ASCII | NULL |
-o | Optional | Output: ASCII | stdout |
-c | Optional | ConfigurationFile | NULL |
-m | Optional | Mode | 0 |
-h | Optional | Help |
-m details
Value | Description |
---|---|
0 |
Execution example
Input file
ABC(LF) DEF(CR) GHI(CR)(LF) JKL
Binary data
41 42 43 0A 44 45 46 0D 47 48 49 0D 0A 4A 4B 4C
Case: Options only essential
ABC(LF) DEF(LF) GHI(LF) JKL
Binary data
41 42 43 0A 44 45 46 0A 47 48 49 0A 4A 4B 4C