[TriLUG] shell script gives error on Sun Sparcstation

Johnston, Walter E, Ii, SOBUS wejii at att.com
Wed Aug 29 14:32:07 EDT 2001


Any reason why this would work in HP unix but not on a Sun?

	#!/bin/sh -x   

	var="extrapolation"
	len=`expr length $var`
	echo "$var  has $len characters."


	Thanx.

	Walt




More information about the TriLUG mailing list