|[Home] [Credit Search] [Category Browser] [Staff Roll Call]||The LINUX.COM Article Archive|
|Originally Published: Saturday, 13 January 2001||Author: Dimitris Economou [firstname.lastname@example.org]|
|Published to: tuneup_tips/Tips||Page: 1/1 - [Printable]|
Inserting Files in a Document Using vi
When editing a document with vi, the contents of another text file can be retrieved and inserted into the file at the cursor's position. This is done by calling the 'r' function in the following format:
For example, while editing a document, after pressing escape to ensure that vi is accepting commands, the contents of the file 'tuneup' will be...