C-shell alias bug or bug in user circuitry?
Conor S. Rafferty
conor at orphan.UUCP
Sat Apr 16 06:21:07 AEST 1988
Sender:
Reply-To:
Followup-To:
I have an alias, called "a". When executed as "a 1 2" it performs normally.
When executed as "a 1 1", csh leaves my shell hanging in the subsidiary
prompt and a ^D is necessary to escape, leaving a "missing the/endif" complaint.
Here it is:
orphan conor% alias a
if !:^ != !:$ then; echo !:$ ; endif
orphan conor% a 1 2
2
orphan conor% a 1 1
?
?
then: then/endif not found.
orphan conor%
The alias is supposed to echo the second arg if it is different from
the first one.
-C
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list