Hi,
Can anyone tell me the difference between
QUIET=${QUIET:-yes}
and
QUIET=yes
.
Regards,
akash
Hi,
Can anyone tell me the difference between
QUIET=${QUIET:-yes}
and
QUIET=yes
.
Regards,
akash
From the man page:
${parameter:-word}
If parameter is set and is non-null then substitute its value; otherwise substitute word.
If the QUIET variable is not set it will be default to yes in the first case
QUIET variable will be set to YES in the second case