
On Nov 24, 2007, at 17:07 , Thomas Hartman wrote:
ltag=`echo ${tag:1} | tr [:upper:] [:lower:] ` ; \ echo " interface HTML${tag:0:1}${ltag}Element : HTMLElement {" >> W3C/addtags.idl ; \
(...)
/bin/sh: Syntax error: Bad substitution
Translation: "This program only works on Linux." That variable substitution is not supported by /bin/sh on any system where /bin/sh is not bash, which is to say any system that is not Linux. (And possibly even not on some Linuxes; I think I've heard at least one distribution has tried to break the bash dependency, but I'm sure they'll go back soon because of all the people complaining about how "broken" it is.) -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH