Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^2: Curious Symlink question

by patrickrock (Beadle)
on May 03, 2005 at 16:06 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2023-09-26 16:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found