From: Park Heesob Date: 2005-02-11T23:49:53+09:00 Subject: Re: A Ruby-relevant quote from Alan Kay Hi, > > For the Windows folk: > > ruby -ropen-uri -e "puts open( > 'http://hoho.dyndns.org/~holger/smalltalk.html').read.gsub(/Smalltalk/, > 'Ruby')" > foo.html && start foo.html > && ruby -e "sleep 3" > && del foo.html > > And all that needs to be one line. > > Does anyone know if Windows has a line continuation thingy like *nix's > backslash (\)? > You can put a caret ^ character at the end of the line to continue it. However, be sure there are no space characters or any other whitespace following the ^ character. Try: ruby -ropen-uri -e "url='http://hoho.dyndns.org/~holger/smalltalk.html'" ^ -e "puts open(url).read.gsub(/Smalltalk/,'Ruby')" > foo.html ^ && start foo.html && ruby -e "sleep 3" && del foo.html Regards, Park Heesob