From: nobu.nokada@... Date: 2004-06-23T22:59:50+09:00 Subject: Re: [OT] #! with WinXP's cmd.exe (was: Re: Warnings when using RedCloth and Rake) Hi, At Wed, 23 Jun 2004 19:58:12 +0900, Stephan K�mper wrote in [ruby-talk:104409]: > Now, with the assoc and ftype commands (in cooperation with the PATH and > PATHEXT environment variables) I knew you could bind a certain file > suffix to a file type (assoc) and associate a certain file type to a > given executable (ftype). But the #! functionality (or is it a cmd.exe > bug? ;-) ) was completely new to me. Current ruby implementation takes options from the first line if it starts withs /^#!\S+ruby/. It's a just feature inherited from perl. -- Nobu Nakada