> grin...I missed his bashism's. Actually the heinous bash stuff (as far > as bourne shell is concered) is the arrays as in the lines: > > while read -a line; do > echo ${line[$platform_idx]} | egrep $egrep_flags "^$platform$|^$platform,|,$platform,|,$platform$" > > The "read -a" is reading into a line, and "${line[$platform_idx]}" is > accessing an elemnt of the array. Since arrays don't exist in bourne > shell which is going to be the default shell on Solaris, that would be > another explanation of the error (unless of course he was doing > "-p /usr/bin/bash" or something like it). Aaarggghhh. This really sux, although I have a slightly different point of view on this. Some systems are still shipped with the plain Bourne shell (which has been around since 1970 and hasn't had much alterations since then). It's like volunteerly driving a car from 1970 or using command.com. If a manufacturer of Unix systems is really serious about using a shell, it should ship at least bash or even better, zsh (which incorporates the functionality of sh, ksh, bash and some of (t)csh). Apparently both HP and Sun think you should use only point-and-click interfaces... _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list