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}" ... .... ... } |
did you feel like actually asking a question about this then?
|
Ohh I am sorry i forgot to ask quetion.
Acually i hve two quetion here.. 1. Export ABC what does it mean, i know teh meaning of exporting a variable but not the file. 2. what is teh meaning of DEBUG here. Thanks & Regards Gauri |
It looks like you are export the filename for you script.
$DEBUG in this case could be "echo" |
Thanks a lot.Yes you are right.
regards Gauri |
All times are GMT -5. The time now is 06:29 PM. |