csh, echo `cd /tmp; echo *` dumps core
Jordan Hayes
jordan at Morgan.COM
Tue Sep 12 01:00:14 AEST 1989
Felix Lee <flee at shire.cs.psu.edu> writes:
% echo `cd /tmp; echo *`
coredumps in every BSD variant I've tried (Vax 4.3, SunOS 4.x, IBM/4.3).
Huh?
=====
% cat /etc/motd
SunOS Release 4.0.3 (S3SS) #6: Thu Aug 17 19:51:35 EDT 1989
% echo `cd /tmp ; echo *`
foobar hodedo Ex01841
% ls core
core not found
...
% cat /etc/motd
AIX/RT V2.2.1 (last updated 27 June 89)
% echo `cd /tmp ; echo *`
echo: No match.
% ls core
core not found
=====
Ok, so I don't have a Vax handy, but I tried it on a straight 4.3 port
on another machine and got the same results. Are you sure you don't
have something nasty aliased to cd?
/jordan
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list