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

Re: shellscript breakage

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-01-21 21:29:30 CET

Philip Martin <philip@codematters.co.uk> writes:

> I am no shell expert, but I don't think $(cmd) is a bashism, it's POSIX
> sh syntax. Is bourne preferred over POSIX?

It seems like it's preferred by Sun at least; in Solaris, /bin/sh is
the Bourne shell, and the POSIX shell is hidden away as
/usr/xpg4/bin/sh. While POSIX sh may be portable in theory, in
real life anything beginning with #!/bin/sh should conform to Bourne
shell syntax to be portable.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:57 2006

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.