From: "Mauricio Fernández" Date: 2002-10-25T02:58:51+09:00 Subject: Re: ruby calls perl On Fri, Oct 25, 2002 at 02:47:39AM +0900, Carlos wrote: > > C> Why does ruby call perl? > > > > Copyied from a P language (after a gsub :-)) > > > > If the #! line does not contain the word "ruby", the pro� > > gram named after the #! is executed instead of the Ruby > > interpreter. This is slightly bizarre, but it helps peo� > > ple on machines that don't do #!, because they can tell a > > program that their SHELL is /usr/bin/ruby, and Ruby will > > then dispatch the program to the correct interpreter for > > them. > > And does anybody actually tell a program that their SHELL is ruby? But irb could do the trick :-) -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com No, that's wrong too. Now there's a race condition between the rm and the mv. Hmm, I need more coffee. -- Guy Maor on Debian Bug#25228