Calling Different scripts with 1 wrapper script

From: qazmlp (qazmlp1209_at_rediffmail.com)
Date: 12/31/04


Date: 31 Dec 2004 04:02:56 -0800

Kindly guide me in implementing the following:

A directory will have the following files: -

script1 -> ./wrapper.sh
script2 -> ./wrapper.sh
script3 -> ./wrapper.sh
wrapper.sh
script1.sh
script2.sh
script3.sh

script1, script2 & script3 are links to same script:wrapper.sh.
Application users will be using either of script1,script2, script3 only.
wrapper.sh should be written in such a way that,
 - whenever script1 is invoked by the user, script1.sh should be called
   automatically
   Similarly, script2.sh, script3.sh respectively for the invocation of
   script2, script3.

How exactly this can be achieved?