Thread View: wwa.support
2 messages
2 total messages
Started by Bob Zimmerman
Sun, 17 Dec 1995 00:00
VI question - number 2
Author: Bob Zimmerman
Date: Sun, 17 Dec 1995 00:00
Date: Sun, 17 Dec 1995 00:00
12 lines
813 bytes
813 bytes
Forgot one other question :( When I do a grep xyz *, I would like to feed the hits into the vi command line... sort of like: grep -l pattern * | xargs vi and vi always issues an error that it's standard input and output must be a terminal... Any idea how to do this correctly??? Thanks again (now I use a file that I edit :(
Re: VI question - number 2
Author: Matt Hucke
Date: Sun, 17 Dec 1995 00:00
Date: Sun, 17 Dec 1995 00:00
17 lines
1040 bytes
1040 bytes
In article <4b1d7b$1b8@kirin.wwa.com>, Bob Zimmerman <bobzim@wwa.com> wrote: >Forgot one other question :( > >grep -l pattern * | xargs vi > >and vi always issues an error that it's standard >input and output must be a terminal... Any idea >how to do this correctly??? vi `grep -l pattern *` Notice those quotemarks are backticks (usually found just below the ESC key). -- "NO ONE expects the Spanish Inquisition!" hucke@cynico.com Cynico Network Consulting http://www.wwa.com/~hucke info@cynico.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads