kverify(1) 2/4/92 kverify(1)
NAME
kverify - validate kanji code files
SYNOPSIS
kverify [-q] [-i ifmt] [file...]
DESCRIPTION
kverify checks the named files (stdin if none) for invalid kanji byte
sequences. For each file, kverify prints the name of the file on
stdout, followed by "OK" if no errors were found, or the byte offset
at which a problem was detected. The encoding of the input files is
detected automatically.
OPTIONS
-i ifmt
With the -i option set, kverify checks that the input files are
valid for encoding ifmt (as opposed to merely checking that they
are valid for one of the five encodings). Valid formats are:
jis - (New) JIS
ojis - Old JIS
njis - NEC-JIS
sjis - Shift-JIS
euc - Extended UNIX Code
-q Report the validity of the input via the exit status instead of
writing a message to stdout. Exit status is 0 if no problems were
found, 1 otherwise. This option can only be used with a single
input file or stdin.
DIAGNOSTICS
Normally, kverify returns an exit status of 0 (if the -q option is not
set). Any errors produce a diagnostic on stderr and return an exit
status of 99.
NOTES
If the -q option is not set and input is read from stdin, kverify
copies the input to a temporary file to be able to report accurate
byte offsets.
ENVIRONMENT
TMPDIR
Directory for temporary file.
SEE ALSO
kcode(1), kconv(1), fkverify(3K).
Page 1 Reliant UNIX 5.44 2, 194