The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 08-26-2008
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,575
but /bin/ksh wasnt the favorite shell under solaris (but is it now?)
You try your script on a HP-UX and Im sure you will have something like:
Value of test.ksh outside
Value of callme2 inside
and if you used sh on HP-UX you would have the solaris output, unfortunately Im at home now and cant confirm by testing on different platforms.. but Im confident about HPUX...
As said I believe it being more philosophical:
When you call callme2, you agree its like executing a module no? So is it $0?
It depends on your understanding I suppose...
That is maybe also why many courses are given in bourne shell, question of compatibility...