From: "ara.t.howard" Date: 2008-08-12T23:43:11+09:00 Subject: Re: Sigh! I'm depressed. Debian vs Ruby and the backtick and subshells On Aug 11, 2008, at 11:48 PM, John Carter wrote: > > Thus on Debian (and Debian derivatives like Ubuntu) Rubies backtick > (iff there is a glob or a redirection present) is HARDCODED to /bin/sh > but will (depending on the users whim) give you dash or bash. i could easily be wrong, but i have a dim recollection that the location of sh is a POSIX standard itself. backticks seem to respect the SHELL var here cfp:~ > SHELL=tcsh ruby -e' puts `echo $SHELL 2>out` ' tcsh a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama