Hey Guys, Thanks for all the answers. I just found the answer with a little googling. It looks like I want to use the pipe operator... as in: echo a_file_contents | os_command Thanks, again. Sonny. > I'm actually to trying to solve the following problem. I've been > redirecting the contents of a_file to an os_command, ie: > > os_command < a_file > > Usually a_file is very small and I have to create this file before > invoking the os_command. Is it possible to avoid the creation of a_file > and just pass its contents directly to os_command? > > Sonny. -- Posted via http://www.ruby-forum.com/.