From: Jos Backus Date: 2002-10-05T15:59:05+09:00 Subject: Re: ruby if no input On Fri, Oct 04, 2002 at 11:48:02PM +0900, Christian Szegedy wrote: > Ruby also reads from stdin if started without a file, this is of > course not too helpful for a beginner, but allows for using it as a pipe. > I think this is the optimal way a scripting language should behave. lizzy:~% python Python 2.2.1 (#1, Apr 20 2002, 10:26:30) [GCC 2.95.3 20010315 (release)] on freebsd5 Type "help", "copyright", "credits" or "license" for more information. >>> How about lizzy:~% ruby ruby(main):001:0> ? -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ jos at catnook.com _/_/ _/_/_/ require 'std/disclaimer'