Sun Studio 12 Update 1: C++ User's Guide

2.8.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