Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

ft_b2u and ft_u2b

&pagelevel(4)&pagelevel

These two commands are used to convert data between binary format and user format (record length fields).

  • The ft_b2u command converts binary data into data in user format (records with record length fields). It reads the data from stdin and outputs it at stdout.

  • The ft_u2b command converts data in user format (records with record length fields) into binary data.

Format

ft_b2u -r=<1...32000> [-rf=1...32000>] [-rl=<1...32000>]

ft_u2b <inputfile> [<outputfile>]

Description

-r

-rf

-rl

Length of the records into which the byte stream is to be converted.

Optional: Length of the first record.

Optional: Length of the last record.

inputfile

Name of the file in user format or ’-’ (hyphen) for stdin.

outputfile

Name of the binary file.

Default value: stdout

Example

cat file.in|ft_b2u -r=100 > file.out (Unix systems)

type file.in|ft_b2u -r=100 > file.out (Windows systems)