[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1100723 - /subversion/trunk/tools/dev/benchmarks/large_dirs/create_bigdir.sh

From: Daniel Shahaf <danielsh_at_apache.org>
Date: Mon, 9 May 2011 15:30:04 +0300

Philip Martin wrote on Mon, May 09, 2011 at 13:26:29 +0100:
> Daniel Shahaf <danielsh_at_apache.org> writes:
>
> > SunOS 5.10's /bin/sh chokes:
> >
> > $ echo $((5*2))
> > syntax error: `(' unexpected
> >
> > Daniel
> > (I didn't test it before because the host I used has a time-based login policy)
>
> SunOS's /bin/sh is Bourne, not POSIX. SunOS provides /usr/xpg4/bin/sh
> which is POSIX.
>

... and indeed $((5*2)) works there.

Thanks.
Received on 2011-05-09 14:31:06 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.