RE: UNIX variable of function name

RE: UNIX variable of function name

 

  

Benbart,

No. If you use $0 (or `basename $0`) you can get the name of the shell
script which is executing, but there is no facility in the shell to report
the current function name within a script.

Somebody more familiar with HP-UX may have better insight.

--
Cordially,
Edward F Eaglehouse < [Email address protected] <mailto:[Email address protected] >
Automated Solutions Corp <http://www.atmsol.com/>
Phone: 330-659-6335


-----Original Message-----
From: Benbart
[mailto:oracledba-ezmlmshield-x82020855.[Email address protected]
Sent: Thursday, June 30, 2005 02:52
To: LazyDBA Discussion
Subject: UNIX variable of function name


Hi all,
I just want to know if there is a UNIX variable to get the function name
within the script everytime that function is called in the script ... UNIX
flavor is HP-UX .... i.e. before I go about hard-coding my script to check
what and when a function is called within the script ...



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html



Oracle LazyDBA home page