#!/bin/csh -f # show_that_aliases_are_ignored_on_if_lines # ----------------------------------------------------------------------------- # C shell script to demonstrate that aliases are ignored on one-line if # statements, but are evaluated on multi-line if-then statements. # ----------------------------------------------------------------------------- alias crapola1 echo Alias was found pause "Hit any key to see error when crapola1 is not found" if (1 == 1) crapola1 pause "Hit any key to see crapola1 echo its output" if (1 == 1) then crapola1 endif