On Mon, 7 Jan 2002 16:43:47 +0100
martin f krafft <[EMAIL PROTECTED]> wrote:
> can anyone please explain this to me?
> 
> seamus:/usr/local/share/phpgw# find . -name Root | xargs vi
> 221 files to edit
> Vim: Warning: Input is not from a terminal
> 
> seamus:/usr/local/share/phpgw# vi `find . -name Root`
> 221 files to edit
> 
> how the heck does vi get the difference between the two methods of
> calling it...

In the first command, vi's input is STDOUT, not a terminal. In the
second command, it's a terminal.

--
 .--=====-=-=====-=========----------=====-----------=-=-----=.
/    David Barclay Harris            Aut agere, aut mori.      \
\        Clan Barclay              Either action, or death.    /
 `-------======-------------=-=-----=-===-=====-------=--=----'

Attachment: pgpEk5iuOFTH2.pgp
Description: PGP signature

Reply via email to