next up previous
Next: 2.4 Editing Files in Up: 2. The Command Line Previous: 2.2 Loading Multiple Files

2.3 Appending Files

If you want, you can append multiple files into a single buffer using the ``-a'' command line switch. For example:

ved -a *.h

will load all of the ``.h'' files in the current directory into a single buffer. They will be appended in the order of the wildcard expansion. A note of caution: if you edit the file and later do a save, Ved will use the filename of the first file.

If you specify more that one filename, all the files must exist and none of the filenames can be a directory.



2004-05-02