Wednesday, September 5, 2007

Tip for the day: VIEWING ALL C FILES AT ONCE

To view all C files in all subdirectories IN ONE COMMAND Just say:

vi `find . -name "*.c" `

This will find all C files and outpud of find in the input to vi.

While is vi, use the command ":n" to view each next file.

No comments: