Name

import, export - Text file conversion

Syntax

import file1 [ file2 ]
export file1 file2

Description

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.

Note

Export is not as flexible as import in that you must specify file2 when exporting file1.

Some transfer protocols include newline conversion.

See Also

rx(C), rz(C), sx(C), sz(C)