forder(1)forder(1)NAMEforder - convert file data order
SYNOPSIS
[file ...]
DESCRIPTION
The text orientation (mode) of a file can be right-to-left (non-Latin)
or left-to-right (Latin). This text orientation can affect the way
data is arranged in the file. The data arrangements that result are
called screen order and keyboard order. converts the order of charac‐
ters in the file from screen order to keyboard order or vice versa.
reads the concatenation of input files (or standard input if none are
given) and produces on standard output a converted version of its
input. If appears as an input file name, reads standard input at that
point (use to delimit the end of options in such instances).
converts input files for all languages that are read from right-to-
left. Unless the option is used, the command merely copies input files
to standard output for languages that are read from left-to-right.
Options
recognizes the following options:
Convert file data order for languages read from left-to-right.
Identify the file as having been created in Latin mode.
Identify the file as having been created in non-Latin mode.
EXTERNAL INFLUENCES
Environment Variables
The environment variable determines the mode and order of the file.
The syntax of is:
[mode] [_order]
where mode describes the mode of a file: represents Latin mode, and
represents non-Latin mode. Non-Latin mode is assumed for values other
than and The order describes the data order of a file: is keyboard, and
is screen. Keyboard order is assumed for values other than and Mode
information in can be overridden from the command line.
The environment variable determines the direction of a language (left-
to-right or right-to-left).
The environment variable determines whether a language has alternative
numbers.
The environment variable determines the language in which messages are
displayed.
International Code Set Support
Single-byte character code sets are supported.
EXAMPLES
The following command begins with file1, which exists in screen order,
converts it to keyboard order, sorts the keyboard-ordered output, con‐
verts it back to screen order, and redirects the output to file2. Note
that is given to inform that file1 was created in non-Latin mode.
WARNINGS
It is the user's responsibility to ensure that the environment variable
accurately reflects the status of the file.
If present, alternative numbers always have a left-to-right orienta‐
tion.
The command is HP proprietary, not portable to other vendors' systems,
and will not be provided in future HP-UX releases.
AUTHOR
was developed by HP.
SEE ALSOenviron(5), strord(3C), nljust(1).
forder(1)