## Name

dup — Checks the specified file (which is expected to contain a BRL-CAD model) for names that are the same as those in the current model.

## Synopsis

`dup` {`file`} [`prefix`]

## DESCRIPTION

Checks the specified file (which is expected to contain a BRL-CAD model) for names that are the same as those in the current model. If a prefix is included on the command line, all names in the specified file will have that prefix added to their names before comparison with the current model. This command is often used prior to invoking the dbconcat command to ensure that there are no name clashes.

## EXAMPLES

The first example shows the use of the dup command to check for files having the same name as those in the current model. The second example shows how to prefix the file names in the other model before comparing them with the names of the current model files.

Example 1. Check for files having the same name as those in the current model.

`mged>` `dup other_model.g`

  Checks other_model.g for names duplicating those in the current model.

Example 2.

`mged>``dup other_model.g abc`

Does the same check as in the first example, but prefixes all the names in other_model.g with abc before comparing with the names in the current model.

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.