🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #77

Re: csh, echo `cd /tmp; echo *` dumps core

#77
From: Frank Wortner
Date: Tue, 12 Sep 1989 12:43
14 lines
1086 bytes
In article <FLEE.89Sep11063523@shire.cs.psu.edu>, flee@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
Technical Details
Message-ID: <1476@riscy.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!decwrl!shlump.nac.dec.com!riscy.dec.com!croton.dec.com!frank
References: <FLEE.89Sep11063523@shire.cs.psu.edu> <FLEE.89Sep11050930@shire.cs.psu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!decwrl!shlump.nac.dec.com!riscy.dec.com!croton.dec.com!frank
From: frank@croton.dec.com (Frank Wortner)
Newsgroups: comp.bugs.4bsd
Subject: Re: csh, echo `cd /tmp; echo *` dumps core
Message-ID: <1476@riscy.dec.com>
Date: 12 Sep 89 12:43:43 GMT
References: <FLEE.89Sep11063523@shire.cs.psu.edu> <FLEE.89Sep11050930@shire.cs.psu.edu>
Sender: news@riscy.dec.com
Organization: Digital Equipment Corporation, NYC
Lines: 14