The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Using $0 and 'Function' Keyword
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Using $0 and 'Function' Keyword
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
08-26-2008
vbe
Moderator
Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,577
It has to do with the shell behaviour...
Your first case (solaris...) is the what you would expect from a bourne shell...
The second is what most ksh implementation would give...
The question is when you call callme2, is it or not a $0
All the best
vbe
View Public Profile
Find all posts by vbe
Find vbe's past nominations received
Find vbe's present nominations given