Article View: fj.lang.misc
Article #392Re: [Q] Which Language is suitable?
From: WATANABE Hirofumi
Date: Fri, 17 Jan 1997 00:00
Date: Fri, 17 Jan 1997 00:00
23 lines
945 bytes
945 bytes
Yukihiro Matsumoto<matz@caelum.co.jp>ใใใฏ
่จไบ<x34tghg7mu.fsf@caelum.co.jp>ใงใใๆธใใพใใ:
:-- ใใใใ
:#!/usr/local/bin/ruby
:
:while line = gets()
: gsub! /[][,]/, ' '
: print line
:end
:-- ใใใพใง
#!/usr/local/bin/ruby
while gets()
print $_.tr('[],', ' ').strip, "\n"
end
strip ใๅ
ฅใใใปใใใใๆฐใใใ(ๅฎฃไผ, ๅฎฃไผ).
--
ใใใชในใฒใใตใฟ
Technical Details
Message-ID:
<5bn0o2$38s@ptggw.ptg.sony.co.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<32DE0E7A.37AB@hongo.ecc.u-tokyo.ac.jp> <x34tghg7mu.fsf@caelum.co.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 10b195,1a7ccfe5f5e7eff X-Google-Attributes: gid10b195,public From: watanabe@ase.ptg.sony.co.jp (WATANABE Hirofumi) Subject: Re: [Q] Which Language is suitable? Date: 1997/01/17 Message-ID: <5bn0o2$38s@ptggw.ptg.sony.co.jp> X-Deja-AN: 210347108 references: <32DE0E7A.37AB@hongo.ecc.u-tokyo.ac.jp> <x34tghg7mu.fsf@caelum.co.jp> content-type: text/plain; charset=ISO-2022-JP organization: Sony Corporation mime-version: 1.0 newsgroups: fj.lang.misc