Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Curious Symlink question

by patrickrock (Beadle)
on May 03, 2005 at 16:06 UTC ( [id://453663]=note: print w/replies, xml ) Need Help??


in reply to Re: Curious Symlink question
in thread Curious Symlink question

yes! brilliant. the $0 var worked just as you guys described.

Sorry my question was confusing. Even apparently to myself.

Thanks for your help, and if you want here is the longer story.

Oracle applications 10.7 provides a way to feed arguments from oracle apps to a shell script.

It works like this

1. Make your shell script with a .prog extenstion. so test.prog

2. make a symlink to a special oracle binary like so using the name of your .prog so:
ln -s fnddescr test

then define test in oracle.

you call test from oracle, give it your arguments, and then oracle calls test which calls fnddescr which parses the oracle payload, and hands the arguments back to test.prog.

we wanted to know if how fnddescr could know what called it.

presumably they have something similiar to $0 again thanks for your help!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://453663]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-16 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found