Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Call a function in another script
Name: Alley Date: May 27, 2002 at 13:16:10 Pacific
Comment:
(It's about Korn Shell.)I wrote a few functions into another script and call them from main script. But all the "print" commands on sub-scripts did not work. Is there anyone can help me to fix it?
Summary: i have a function defined in one ksh (ksh 1) i want to use that function in another ksh (ksh 2) i am using . $<directoryname>/<ksh name> i want only the function defined in ksh 1 to be executed...
Summary: Hi Can u please let me know how can i have all the functions in one shell script and then later call these functions in another script. for eg i want to create a shell script which will consist of the...
Summary: i have a function defined in one ksh (ksh 1) i want to use that function in another ksh (ksh 2) i am using . $<directoryname>/<ksh name> i am calling the function defined in ksh 1 in ksh 2 i wa...