[#37041] [ANN] Exerb/Exerb-CC 2.6.0 — Yuya Kato <yuya-ml@4th.to>

未踏ユース終了まで1ヶ月を切って、焦り気味のYuyaです。

27 messages 2003/02/02
[#37202] Re: [ANN] Exerb/Exerb-CC 2.6.0 — "TOYOFUKU Chikanobu" <toyofuku@...> 2003/03/02

豊福です。

[#37206] Re: [ANN] Exerb/Exerb-CC 2.6.0 — Yuya Kato <yuya-ml@4th.to> 2003/03/04

Yuyaです。

[#37058] Re: Local variables & blocks — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

27 messages 2003/02/05
[#37059] Re: Local variables & blocks — ichimal@... 2003/02/06

皆様、初めまして鈴木です。

[#37063] Re: Local variables & blocks — matz@... (Yukihiro Matsumoto) 2003/02/07

まつもと ゆきひろです

[#37110] Re: Local variables & blocks — ichimal@... 2003/02/16

鈴木です。

[#37115] Re: Local variables & blocks — Tanaka Akira <akr@...17n.org> 2003/02/17

In article <200302161629.h1GGTvJ5008901@fenix.ne.jp>,

[#37123] 私はこれにハマリました。 — Shin-ichiro HARA <sinara@...> 2003/02/18

原です。

[ruby-list:37052] 改行が認識されない?

From: 金光雅夫 (KANEMITSU Masao) <masao-k@...>
Date: 2003-02-04 11:49:35 UTC
List: ruby-list #37052
金光です。どもっ。

──────────────────────────────────────
#! ruby -Ks

require 'nkf'

while (line = gets)
  print NKF.nkf('-m0 -f66 -Ss', line.sub(/\A /s, '%%zwsp%%')).sub(/\A%%zwsp%%/, ' ')
  print "\n"
end
──────────────────────────────────────

のようなプログラム(fold)で、getsが一気に全部行を読み込んでいるように
なります。ただし、exe版のNKFでも同じ問題が起きています。

require 'Kconv' かな、とも思ったのですが、症状は同じです。

NKFをシフトJisで使うときの注意とかがあるのでしょうか。


M.Kanemitsu
———————————————
金光雅夫 masao-k@a-net.email.ne.jp

http://www.masao-k.net
http://isweb14.infoseek.co.jp/art/soshikon/
http://isweb15.infoseek.co.jp/computer/ruby256/
http://www.masao-k.net/tDiary/index.rb
http://www.masao-k.net/RubyBook/
〒216-0031 川崎市宮前区神木本町5-14-12
自宅: 044-877-5006
携帯: 090-2753-5292
-- 
"I invented the term Object-Oriented, and I can 
tell you I did not have C++ in mind."
                                            -Alan Kay


In This Thread

Prev Next