cdicsort

Langue: en

Version: 13 May 1992 (openSuse - 09/10/07)

Section: 1 (Commandes utilisateur)

NAME

cdicsort - To sort the text format dictionary.

SYNOPSIS

cdicsort < textdic

DEFAULT PATH

/usr/local/bin/cWnn4/cdicsort

DESCRIPTION

This function allows user to sort the specified text format dictionary, which is piped in as textdic.

If the input text dictionary is not given, the input will be taken from the standard input(stdin). To end the input via standard input, press ^D.

"<" means to pipe the textdic as an input to "cdicsort" command.

textdic is the text format dictionary. The format of this text file must be the same as that in the system text format dictionary. That is,


 --------------------------------------------------

| Pinyin Word Cixing Frequency |

| : : : : |


 --------------------------------------------------

Refer to cWnn manual for details.

By using "cdicsort", all the Pinyin tuples in textdic will be sorted.

The result of "cdicsort" will be output to standard output (stdout). It may also be piped into a file by using the ">" command. For example,


     cdicsort  <  dict.u  >  sort_dict.u

"dict.u" here is the input text format dictionary, while the "sort_dict.u" is the sorted text format dictionary.