shell script
Hi All,
I am having one file say ABC where i a defining all the variable like as follows:
name1=gauri
name2=sandeep
name3=mishra
Now i am using one shell script say xyz.sh where i am using ABC file as :
export ABC
$DEBUG "ABC: load_section [globals]"
function load_section
{
typeset section
${HAVE_BINIFILE:-true} || return
[[ -n "$ABC" ]] || oops "load_section: ABC is empty string"
[[ -f "$ABC" ]] || oops "load_section: File not found: $ABC"
section="${1:-$SCRIPT}"
...
....
...
}
|