(Video materials in preparation)
full : Convert to full-width (zenkaku) characters.
Usage : full [-k] <f1> <f2> .. <file>
full -d <string>
Version : Thu Aug 9 23:41:42 JST 2018
Edition : 1
Converts all half-width (hankaku) katakana and alphanumeric
characters in <file> or standard input to full-width (zenkaku)
characters. (<-> half)
Converts the specified field in the specified file to full-width
characters.
$ cat data
これは データ です。
This is data
123 456 7890
$ full 1 2 3 data
これは データ です。
This is data
123 456 7890
If you do not specify fields, then the entire record is converted
to full-width characters.
Half-width spaces are converted to full-width spaces.
$ cat data
1 2 3
$ cat data | full
1 2 3
If you enter "full -k <file>" then only the half-width katakana in
<file> are converted to full-width characters.
Half-width katakana cannot be used in the subject or body of email,
so you can use this filter to preprocess the data.
$ cat data2
123アイウエオ
$ cat data2 | full -k
123アイウエオ
The "-d" option allows you to specify the text string directly. It
will be converted from half-width to full-width.
$ full -d カタカナABC123 <- Specify half-width characters directly
カタカナABC123 <- All are output as full-width characters