Sun Studio 12: C++ User's Guide

2.7.1 Using Aliases Within the C Shell

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


example% alias CCfx "CC -fast -xnolibmil"

The next example uses the alias CCfx.


example% CCfx any.C

The command CCfx is now the same as:


example% CC -fast -xnolibmil any.C