2007-09-05 ruby でmultibyte文字単位の処理 ruby /usr/bin/ruby -Ke -rjcode -e'STDIN.each{|x| if x.jlength>70 then puts x; end} 文字数70以上の行だけを出力する例