Files
oldlinux-files/docs/Install-Guide/install-guide-2.2.2/node146.html
2024-02-19 00:23:35 -05:00

38 lines
2.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE>3.12.9 Including other files</TITLE>
</HEAD>
<BODY>
<meta name="description" value="3.12.9 Including other files">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html3603 HREF="node147.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3601 HREF="node137.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3595 HREF="node145.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3605 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3606 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html3604 HREF="node147.html">3.12.10 Running shell commands</A>
<B>Up:</B> <A NAME=tex2html3602 HREF="node137.html">3.12 Using the vi </A>
<B> Previous:</B> <A NAME=tex2html3596 HREF="node145.html">3.12.8 Editing another file</A>
<BR> <HR> <P>
<H2><A NAME=SECTION005129000000000000000>3.12.9 Including other files</A></H2>
<P>
<A NAME=3964>&#160;</A>
If you use the <tt>:r</tt> command, you can include the contents of another
file in the current file. For example, the command
<P><TT> :r foo.txt
<P></TT>
would insert the contents of the file <tt>foo.txt</tt> in the text at the
current cursor location.
<P>
<BR> <HR><A NAME=tex2html3603 HREF="node147.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3601 HREF="node137.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3595 HREF="node145.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3605 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3606 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html3604 HREF="node147.html">3.12.10 Running shell commands</A>
<B>Up:</B> <A NAME=tex2html3602 HREF="node137.html">3.12 Using the vi </A>
<B> Previous:</B> <A NAME=tex2html3596 HREF="node145.html">3.12.8 Editing another file</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>