Path: utzoo!attcan!uunet!clyde.concordia.ca!mcgill-vision!snorkelwacker!usc!cs.utexas.edu!sun-barr!newstop!exodus!ouroborous.Sun.COM!limes From: limes@ouroborous.Sun.COM (Greg Limes) Newsgroups: comp.unix.questions Subject: Re: Is it possible to nest Csh command substitution? Message-ID: <341@exodus.Eng.Sun.COM> Date: 7 Jun 90 04:11:51 GMT References: <1990Jun6.082816.13649@mentor.com> <1990Jun6.215148.9668@athena.mit.edu> Sender: news@exodus.Eng.Sun.COM Distribution: na Organization: Sun Microsystems, Mt. View, Ca. Lines: 16 In article <1990Jun6.215148.9668@athena.mit.edu> jik@athena.mit.edu (Jonathan I. Kamens) writes: >In article <1990Jun6.082816.13649@mentor.com>, cmorgan@mentor.com (Clark >Morgan @ APD x4813) writes: >|> [Is it possible to do nested command substitution in csh?] > > No, I'm fairly certain it's not possible to do this. Anyone else out there took Clint Staley's "unix hacking" class out at UC Santa Barbara? No? I guess I gotta pipe up then ... Without thinking too much about the problem, he tossed this one at us as an assignment. It turns out to be possible, but extremely hairy -- I tend to remember weird stuff like this, but this was *too* weird. -- Greg Limes limes@sun.com ...!sun!limes 73327,2473 CGDB02A [choose one] A Fool and his Money are soon Partying ...