Mark, I've seen lots of people use it, probably because it fits what people expect to see in an inline command more than the stdin redirection. I think there are even some examples in "Rendering with Radiance" using it, so you're in good company...
Cheers, -Greg > From: Mark Stock <mst...@umich.edu> > Date: June 28, 2013 7:58:43 AM PDT > > Greg, Randolph, > > I admit that my use of "cat" is simply habit---I saw it once (probably over > 15 years ago) and never let go of it. I am actually not as savvy with Unix as > I am on TV. > > By all means make the benchmark as portable as you can and send me the > changes. I will incorporate them as soon as I can. > > Mark > > > On Thu, 27 Jun 2013, Gregory J. Ward wrote: > >> Side note on the use of "!cat" I often see things like this: >> >> !cat input1.rad input2.rad | xform -ry 20 >> >> Which is completely silly. Why not just use: >> >> !xform -ry 20 input1.rad input2.rad >> >> Even if you are going to a program that expects input on stdin, you can >> redirect it instead: >> >> !fussy_program < input | second_program etc... >> >> I've seen almost no one use cat for a reason in a Radiance file. (No >> offense Mark, as I haven't even looked at yours!) >> >> Cheers, >> -Greg >> >>> From: "Randolph M. Fritz" <randolph...@panix.com> >>> Date: June 27, 2013 5:04:11 PM PDT >>> >>> Randolph M. Fritz <randolph+LD@...> writes: >>> >>>> >>>> Has anyone got this going? >>>> >>>> (Yes! I have managed to get it built and installed. No, I have no idea >>>> if it is actually working. More, later, when I've tested the thing.) >>>> >>> >>> I am pleased to be able to say that I have been able to get the simulation, >>> though not the timing part, of this benchmark running. There is no "time" >>> command in the native Windows environment, and I don't yet know how to use >>> similar commands in the Windows Power Shell. Looking hopeful, though of >>> course I have not yet seen the output. >>> >>> Mark Stock, if you're reading, would you like my cross-platform changes to >>> the .rad files? Windows, of course, does not have a "cat" command, which >>> means that "!cat" has to be replaced with "!xform". >>> >>> Randolph >> >> _______________________________________________ >> Radiance-dev mailing list >> Radiance-dev@radiance-online.org >> http://www.radiance-online.org/mailman/listinfo/radiance-dev >> > > _______________________________________________ > Radiance-dev mailing list > Radiance-dev@radiance-online.org > http://www.radiance-online.org/mailman/listinfo/radiance-dev _______________________________________________ Radiance-dev mailing list Radiance-dev@radiance-online.org http://www.radiance-online.org/mailman/listinfo/radiance-dev