포럼: 公開討議 (Thread #32730)

Shift_JIS>Shift_JIS (2012-08-28 18:56 by backtread #65316)

Shift_JISの半角カナを1バイトとカウントして-fオプションで改行をさせたいのですが、
どうしても2バイトとして認識されてしまい、綺麗に改行が出来ません。
Shift_JISの半角カナを1バイトとして処理する方法はないのでしょうか?

【実行例】
nkf -Sxs -f10 --overwrite C:○○○.txt

【やりたいこと】
アイウエオカキクケコサシスセソタチツテト

アイウエオカキクケコ
サシスセソタチツテト

Reply to #65316×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Shift_JIS>Shift_JIS (2012-08-29 14:49 by naruse #65333)

6bbe38e718c98825229bce7ef9f8d236e63c095f で修正しました。
ありがとうございました。
Reply to #65316

Reply to #65333×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Shift_JIS>Shift_JIS (2012-08-29 19:12 by backtread #65337)

早速ご返信頂き、ありがとうございます。
上記リビジョンはどこから入手可能でしょうか?
(コミットされておりますでしょうか?)
Reply to #65316

Reply to #65337×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Shift_JIS>Shift_JIS (2012-08-29 20:49 by naruse #65338)

おっと失敬、pushし忘れてました。
http://sourceforge.jp/projects/nkf/scm/git/nkf/ からとれます。
Reply to #65337

Reply to #65338×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Shift_JIS>Shift_JIS (2012-08-30 19:21 by backtread #65361)

ありがとうございます。

ちなみに、
vectorからダウンロードをしたwindows移植版(exe)を使用していたのですが、
修正後のものでwindows移植したものを頂くことは出来ないでしょうか?
Reply to #65316

Reply to #65361×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Shift_JIS>Shift_JIS (2012-08-30 21:50 by naruse #65367)

Windows版の管理はmasaさんで、わたしではないのですよ。
Reply to #65361

Reply to #65367×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login