[ALUG] Re: Re: Re: How to check a directory is empty (probably in
bash)?
Eur Ing Chris Green
cl at isbd.net
Wed Feb 21 14:47:58 GMT 2007
On Wed, Feb 21, 2007 at 02:30:38PM +0000, Brett Parker wrote:
> On Wed, Feb 21, 2007 at 01:48:40PM +0000, Eur Ing Chris Green wrote:
> > On Wed, Feb 21, 2007 at 01:16:51PM +0000, Brett Parker wrote:
> > > Yeah - but Solaris' /bin/sh isn't POSIX compliant, it's a broken evil
> > > thing - I'm fairly sure that they haven't bothered to fix it yet because
> > > a lot of people worked round the fact that solaris had a broken /bin/sh
> > > by default and so wrote around the broken shell.
> > >
> > I quite agree, but that doesn't change the fact that I have to develop
> > and maintain code on Solaris.
>
> Not got bash installed on there for sanity, then? (The solaris boxen we
> have "laying about", i.e. customer kit that we maintain things on, have
> all got bash installed - bash is the way forwards for a non-broken shell
> on slowarsis! Long live bash! Err, or sommit like that :)
>
We don't own the target platforms for our code and they are at
customer sites all around the world so we basically have to make
sure our code works on a default Solaris (2.8 currently) system.
--
Chris Green
More information about the main
mailing list