On Thu, 17 Apr 2008 20:25:52 +1200
Volker Kuhlmann <[EMAIL PROTECTED]> wrote:

> On Thu 17 Apr 2008 12:31:08 NZST +1200, Steve Holdoway wrote:
> 
> > Looks like something I never learnt when transferring from sh to bash.
> 
> I think you knew, but just got temporarily confused. None of the
> examples in this thread used any bash-specific features and would have
> equally worked under sh and bash. Your suggestion wouldn't have worked
> on any historic version of sh if my understanding of matters is correct.
> 
> Volker
> 
> -- 
> Volker Kuhlmann                       is list0570 with the domain in header
> http://volker.dnsalias.net/   Please do not CC list postings to me.

Not too sure. I started writing that [ and test were just links to the same 
program, and then luckily checked before posting! They certainly used to be, 
under the commercial versions of unix that I used to use. I think it's more 
that you end up using a subset of the available functionality when you switch 
between similar operating systems - the bits that work the same on all/most of 
them. I got bitten by the globbing rules on FreeBSD today - different to linux 
bash when wildcarding with ssh - csh by default... yeuch!

Steve
-- 
Steve Holdoway <[EMAIL PROTECTED]>

Reply via email to