>>>>> "M" == Markus Blasl <blasl / fzi.de> writes:

M> #!/usr/bin/ruby
M> def search()
M>     puts "Suchbegriff: ";
M>     search=gets;

       search = $stdin.gets # otherwise ruby read a line from the
                            # first file given in argument, and this file
                            # is removed from ARGV

M>     chop



Guy Decoux