C++ User's Guide

Using Aliases Within the C Shell

The following example defines an alias for a command with frequently used options.


demo% alias CCfx "CC -fast -xnolibmil"

The next example uses the alias CCfx.


demo% CCfx any.C

The command CCfx is now the same as:


demo% CC -fast -xnolibmil any.C