import, export - Text file conversion
import file1 [ file2 ]
export file1 file2
Import is used to filter linefeeds after carriage returns from a text file. This is handy after uploading a text file containing unnecessary linefeeds after carriage returns from operating systems such as CP/M or MS-DOS.
Import reads file1 and writes the filtered output to the optional file2. If file2 is omitted, import just converts file1.
Export is used to append linefeeds after carriage returns just prior to downloading to an operating system which needs CR/LF newline sequences.
Export is not as flexible as import in that you must specify file2 when exporting file1.
Some transfer protocols include newline conversion.