[geeks] OpenSolaris ready for Production?

Phil Stracchino alaric at metrocast.net
Tue Mar 3 18:03:56 CST 2009


Mike Meredith wrote:
> On Tue, 03 Mar 2009 18:26:17 -0500, Phil Stracchino wrote:
>> I'm not familiar with that usage and can't quite make sense of what it
>> would do.  As far as I can see, '/bin/bash -c true' returns true if
>> 'true' exists in the current directory and is a character special
>> file, which doesn't seem a useful test under the circumstances.
> 
> Really?
> 
> I always thought it would run the 'true' command (which returns true)
> and if the command is successful would run the following command.
> 
> I've been using it (specifically "/bin/zsh -c true && exec /bin/zsh")
> to "replace" my shell for years.

Ah, now with zsh, that would work.  But the -c option to bash doesn't do
that.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.



More information about the geeks mailing list