[rescue] sunos 4.1.1 cdrom image ?

Sandwich Maker adh at an.bradford.ma.us
Fri Dec 2 10:45:52 CST 2011


" From: "Derrik Walker v2.0" <lorddoomicus at me.com>
" 
" /bin/sh on Linux and Mac OS X is bash, and on solaris it's
" the Posix shell, which is based on bourn shell, NOT ksh. UUhhgggg!
" []
" 
" On Dec 01, 2011, at 06:08 PM, Andrew Jones
" <andrew at jones.ec> wrote:
" 
" []
" 
" The installer has weird expectations:
" 
" []
" - /bin/sh *must* be ksh

perhaps /bin/sh on sgi is ksh88 compiled with the POSIX flag, as in
hpux 10 and up.  iirc this changes about 6 ksh things, most in minor
ways; the most serious being $0 in posix functions, but there's also a
non-posix way to define functions with the ksh behavior.

###

btw i've found one thing real ksh can do that bash et al can't:

typeset -i13 ANSWER=$((6*9))
print "The answer to the ultimate question of life, the universe, and everything, is -- ${ANSWER#13#}."

okay, i haven't found a -real- use for it...
________________________________________________________________________
Andrew Hay                                  the genius nature
internet rambler                            is to see what all have seen
adh at an.bradford.ma.us                       and think what none thought


More information about the rescue mailing list