From: Joel VanderWerf Date: 2009-07-08T23:29:12+09:00 Subject: Re: Accept sh heredocs to Ruby script Oliver Saunders wrote: > In sh, you can do this: > > $ cat <> i >> like >> jam >> donenow > i > like > jam > $ > > This suggests to me that cat should receive a temporary file as a result > of the heredoc that it can then display similar to the <() construct: What leads you to think that << creates a temp file? Maybe the shell is just piping the heredoc contents to the ruby child process's stdin? -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407