WDUTIL(1) — HP-UX
NAME
wdutil − manipulate Native Language I/O word dictionary
SYNOPSIS
wdutil [ −c | −i [kcap][,dcap] | −j jfile] file
wdutil [ −pd [desig] | −pk [desig] ] file
wdutil [ −sd [[ + | - ]val] | −sk [[ + | - ]val] ] file
wdutil [ −ud | −uk | −ut ] file
DESCRIPTION
Wdutil is used to manipulate the word dictionary used for phrase or word conversion of Native Language I/O. The word dictionary consists of a key block and a data block, which hold the designations and words corresponding to them, respectively.
Wdutil recognizes one of the options below. If no option is specified, the capacity of the key and data blocks in file are displayed (if file is a valid word dictionary). Otherwise, an error message is printed.
The capacity of key block represents the maximum number of designations, and the capacity of data block represents the maximum number of words.
Options
−c Condense the data block in file to obtain a larger contiguous free area.
−i[kcap][,dcap] Initialize file as the word dictionary with the capacities specified by kcap and dcap. If file does not exist, it is created. If kcap or ,dcap is omitted, the default values are 499 for kcap and 650 for dcap.
−jjfile Join the dictionary jfile into file. The capacity of the resulting file is the sum of the capacities of the original file and jfile.
−pk[desig] Display the designations in the order of their code value. If desig ends with *, designations starting with desig are printed. If desig is omitted or is *, all designations in file are printed.
−pd[desig] Display the designations and corresponding words. The string desig has the same connotations as in −pk.
−sd[[+|-]val] Change the capacity of the data block in file. If + or - precedes val, the current value is incremented or decremented by val. Otherwise, the capacity is changed to val. If val is omitted, the default value is 650.
−sk[[+|-]val] Change the capacity of the key block in file. The number val is evaluated the same as with the −sd option, except that the default value is 499.
−ud Display the capacity and usage of the data block in the number of designations.
−uk Display the capacity and usage of the key block in the number of words.
−ut Display the capacity and usage of both the key and data blocks.
WARNINGS
The smallest prime number not smaller than the given value is used as the capacity of a key block. However, if the given value is smaller than 5, 5 is used.
AUTHOR
Wdutil was developed by HP.
SEE ALSO
INTERNATIONAL SUPPORT
8-bit and 16-bit data and messages, 8-bit file names.
Hewlett-Packard Company — May 11, 2021