Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!iWarp.intel.com!news From: merlyn@iWarp.intel.com (Randal L. Schwartz) Newsgroups: comp.lang.perl Subject: Re: chsh /usr/bin/perl Message-ID: <1991Jun25.171435.2776@iWarp.intel.com> Date: 25 Jun 91 17:14:35 GMT References: <1991Jun25.065012.23466@eng.umd.edu> <1991Jun25.135706.20813@convex.com> Sender: news@iWarp.intel.com Reply-To: merlyn@iWarp.intel.com (Randal L. Schwartz) Organization: Stonehenge; netaccess via Intel, Beaverton, Oregon, USA Lines: 13 In-Reply-To: tchrist@convex.COM (Tom Christiansen) Nntp-Posting-Host: se.iwarp.intel.com In article <1991Jun25.135706.20813@convex.com>, tchrist@convex (Tom Christiansen) writes: | It would be too hard to type commands in, which after all is what shells | are all about. Everything would be system thing, or print `foo` that. Not if your first entry was: system("/bin/sh") :-) # warning... probably not SysV compatible, but I don't care... :-) $0 = "Just another Perl hacker,"; grep(/(Just.*,)/ && (print $1), `ps xww`) -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\ | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn | \=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/