Date: 2000.08.24 Newsgroups: comp.unix.questions
> Does anyone have some genius ideas about how to show program results > in another xterm window? > > The most convenient format for me is something like: > > ls -l | popup > > in which popup will show the result of "ls -l" in a newly lauched > xterm window. The question has been haunting me for quite a while > and I still can't come up with any idea yet. > > PS. I managed to come up with a script used like this: > > popup ls -l > > But I don't like it, 'cause all my alias & function definitions > (bash) can not be used in this format. that's why I think getting > results from pipe is a better idea.
well, may not be the best approach:
redirect the pipe input to a temp file (cat > $tmpf) then show the temp file in lauched xterm…
T