Richard Lowe wrote:
> Alexander Stecker <alexander.stecker at kollerbeck.de> writes:
> > Bart Smaalders schrieb:
> >> Alexander Stecker wrote:
> >>> Bart Smaalders schrieb:
> >>>> Alexander Stecker wrote:
[snip]
> >>> as at solstice:/usr/bin$ md5sum /usr/bin/sum /usr/gnu/bin/sum
> >>> 18f3d84bdbfde9c6c3d36a5ad4d8bfbf  /usr/bin/sum
> >>> db6538ef7a5436a08fa87a450ac5a4d0  /usr/gnu/bin/sum
> >>> as at solstice:/usr/bin$ uname -a
> >>> SunOS solstice 5.11 snv_75 i86pc i386 i86pc
> >>
> >> Your sum version doesn't match.  Where did it come from?
> >
> > i've installed the latest ksh93 tarball from the ksh integration
> > project. in the tarball file list
> > (http://www.opensolaris.org/os/project/ksh93-integration/downloads/ksh93_integration_20071105_snapshot_i386.lsfiles.txt)
> >
> > i found the explanation:
> >
> > hr-xr-xr-x test001/users     0 2007-11-06 04:09:14 usr/bin/sum link to
> > usr/bin/bg
> 
> >From memory, ksh93 has a builtin sum(1), it looks like Roland enabled
> that (I would bet that usr/bin/bg was a shellscript, similar to the
> 'alias.ksh' hack that current ksh uses).

Right... but that doesn't explain his problems. The "sum" builtin (and
/usr/bin/sum which is a shell script which calls the ksh93 "sum" builtin
like this:
-- snip --
#!/usr/bin/ksh93
builtin basename
cmd="$(basename "$0")"
${cmd} "$@"
-- snip --
) should return the same hash values as the old Solaris /usr/bin/sum

Alex:
1. Could you please post the output of:
$ bash  -c 'echo "chicken monster" | sum'
$ ksh93 -c 'echo "chicken monster" | sum'

2. Is it possible that you upload the java tarballs which caused the
problem somewhere to the net (where I can access them) and post the
output of $ /usr/sfw/bin/openssl md5 name-of-java-tarball # back to this
list, please ?

3. Could you please post the output of /usr/bin/env to an reply to this
email ? Somehow my feeling tells me that PATH vs. builtin path bindings
is responsible for this screw-up.

----

Bye,
Roland

P.S.: CC:'ing ksh93-integration-discuss at opensolaris.org - please keep
the list in the CC: list when you reply...

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to