[geeks] OpenSolaris ready for Production?
Phil Stracchino
alaric at metrocast.net
Tue Mar 3 18:06:18 CST 2009
Michael-John Turner wrote:
> On Tue, Mar 03, 2009 at 06:26:17PM -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.
>
> I think you're thinking of 'test -c' (or '[ -c]'), which does check if the
> specified file is a character special file. 'bash -c' simply executes the
> specified commands AFAIK.
Doh! You're right of course. Put it down to a brainfart on my part....
--
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