From: Robert Klemme Date: 2004-09-22T17:19:35+09:00 Subject: Re: How to output result to text file? "Hal Fulton" schrieb im Newsbeitrag news:41511032.3000904@hypermetrics.com... > nkb wrote: > > Fabulous! This works! What exactly does '2' means? Where do I get info > > about such thing as '2' or '3' or ?? > > :) This is a Unix or Linux shellism, unrelated to Ruby as such. Read > about bash or whatever shell you're using. > > The '2' comes from the fact that standard error is file descriptor 2 > (0 being stdin and 1 stdout). Although some might not believe it, Windows' cmd.exe knows abuout these, too. So it's not only *nix. :-) robert