Zsh already has the first program built-in using the = expansion. For his example it would be:
xdvi =(curl http://www.diku.dk/~andrzej/papers/RC.dvi)
Yet another reason why you should switch to zsh today :)More about expansions in zsh: http://zsh.sourceforge.net/Doc/Release/zsh_13.html