csh, echo `cd /tmp; echo *` dumps core
Frank Wortner
frank at croton.dec.com
Tue Sep 12 22:43:43 AEST 1989
In article <FLEE.89Sep11063523 at shire.cs.psu.edu>, flee at shire.cs.psu.edu (Felix Lee) writes:
= addendum, it looks like a side effect of my 'cd' alias
= alias cd 'cd \!*; set argv = (`dirs`); shift'
= so the statement
= echo `cd /tmp; echo *`
= causes csh to do backquote substitution inside backquote substitution,
= a condition that obviously never should occur, so dobackp() kindly
= abort()s the child process. Sigh.
Yup, you're right. It's amazing how things that are "never supposed
to happen" happen with frightening frequency. ... double sigh.
Frank
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list