From: "Berger, Daniel" Date: 2002-05-14T00:27:23+09:00 Subject: RE: Inline editing (non-command line) > -----Original Message----- > From: ts [mailto:decoux@moulon.inra.fr] > > pigeon% cat b.rb > #!/usr/bin/ruby > require 'mmap' > a = Mmap.new "aa", "rw" > a.gsub!(/\n/, "\r\n"); > pigeon% > > pigeon% b.rb > pigeon% > > pigeon% cat -e aa > aaaaaaaaaa^M$ > bbbbbbbbbb^M$ > pigeon% Interesting. I guess I'll have to scrounge around Google looking for docs on Ruby's mmap, because I found nothing in the Pickaxe or Nutshell book. Thanks. Dan