Search Results

Search: Posts Made By: ajayyadavmca
2,032
Posted By Corona688
Perhaps something like this, if you have bash or...
Perhaps something like this, if you have bash or ksh:

# Template script file

VAR1=asdf
VAR2=asdf

function do_something
{
echo "do_something called"
}

function...
2,032
Posted By Corona688
I suspect I'd be making individual scripts...
I suspect I'd be making individual scripts instead of configuration files, here, and passing in the parameters as arguments instead of storing them in a configuration file, but it's hard to be sure...
2,032
Posted By Corona688
It's somewhat strange to have a script file...
It's somewhat strange to have a script file reading a file of lines to script -- rather the long way around. If you're storing commands in a file to run, why not put them in the script file in the...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy