uspTukubaiコマンドに関する様々な資料がここにあります。

 

 

魂内検索

DOCUMENTS

COMMAND

FORUM

UEC DOCS

VIDEO

 

Alphabetical list

(Video materials in preparation)

full(USP)

Name

full : Convert to full-width (zenkaku) characters.

Synopsis

Usage   : full [-k] <f1> <f2> .. <file>

          full -d <string>

Version : Thu Aug  9 23:41:42 JST 2018

Edition : 1

Description

Converts all half-width (hankaku) katakana and alphanumeric

characters in <file> or standard input to full-width (zenkaku)

characters. (<-> half)

Example 1

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

Example 2

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

Example 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アイウエオ

Example 4

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