christiniaroelin
Programmer
Hi group,
I have an export statement as
export DIR=${DIR:-"subdir"}
Im trying to understand, whether, tha above statemnt will export DIR with value set in the env, and if not set then only picks subdir as default value. Please let me know if my understanding is correct on the above.
Thanks in advance.
I have an export statement as
export DIR=${DIR:-"subdir"}
Im trying to understand, whether, tha above statemnt will export DIR with value set in the env, and if not set then only picks subdir as default value. Please let me know if my understanding is correct on the above.
Thanks in advance.