I think the correct operator for executing subshell command in tcsh is the backtick `
but when I attempt to do a diff on the results of two commands I get an error. When I direct the information to files first and do a diff on the two files I get exactly what I want but I'd rather just use a single command like:
diff `jar -tvf org.jar` `jar -tvf new.jar`
What is the correct syntax in tcsh?
<(…)
, it's what bash calls process substitution. It is a way to pass several inputs (or less frequently obtain several outputs) from a program. As far as I know tcsh doesn't have anythinig similar. – Gilles 'SO- stop being evil' Dec 26 '10 at 10:57