#!/bin/csh -f # show_that_aliases_are_ignored_on_rest_of_line # ----------------------------------------------------------------------------- # C shell script to demonstrate that aliases are ignored on the rest of # the line that defines them, even after a semicolon. But they work fine # starting on the next line. # ----------------------------------------------------------------------------- echo "Alias is defined and used too soon:" alias crapola1 'echo Alias was found' ; crapola1 echo "" echo "Now alias works fine:" crapola1