![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| call function in one script from another script | minifish | Shell Programming and Scripting | 6 | 10-23-2008 10:04 AM |
| Problem with function script. | gzs553 | Shell Programming and Scripting | 3 | 04-21-2008 04:15 PM |
| Pearl script to automate SSL certificate import | m_kk | UNIX for Advanced & Expert Users | 4 | 02-12-2008 04:24 PM |
| Function Bug in script - need help | gzs553 | Shell Programming and Scripting | 4 | 06-05-2007 02:35 AM |
| getting the value of a c function in shell script | surjyap | Shell Programming and Scripting | 1 | 09-27-2005 05:33 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
import var and function from ksh script to another ksh script
Ih all, i have multiples ksh scripts for crontab's unix jobs they all have same variables declarations and some similar functions i would have a only single script file to declare my variables, like: Code:
var1= "aaa"
var2= "bbb"
var3= "ccc"
...
function ab { ...}
function bc { ... }
function cd { ...}
...
and import this from all my others scripts ? is there any way to do except using export command ? [sourcing a sh script . myscript or ./myscript work but not in ksh] thx Last edited by wolfhurt; 04-02-2008 at 09:38 AM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|