source {example.txt}
SOURCE(nged)
NAME
source - Reads an external file and executes its contents.
On this page
SYNOPSIS
DESCRIPTION
The source command reads and executes an external file. The command will look in the current working directory for the file. If the file is in another directory, use the relative or full path to the file or use the pwd and cd commands to navigate to the file’s directory.
EXAMPLES
Example 1. Read in an external file.
mged>source example.txt
Reads and executes the file example.txt located in the current working directory.
Example 2. Read in an external file using the full path to the file.
mged>source C:/cad_work/example.txt
Reads and executes the file example.txt located at C:\cad_work\.
AUTHOR
BRL-CAD Team
BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org