Bulk editing a bunch of files with VI
This is handy trick, do this:
vi *.h
This allows vi to open up every header file in sequence - other wildcards can also be used.
Once you are in, you use colon (:) + n return to iterate through the files.
This is handy trick, do this:
vi *.h
This allows vi to open up every header file in sequence - other wildcards can also be used.
Once you are in, you use colon (:) + n return to iterate through the files.