I have seen things like the following in various scripts:
What is the purpose of the colon in that example? And why enclose the assignment with ${} instead of simply
This particular example is from /usr/local/share/gnulib/config/srclistvars.sh, but I think the first place I saw this use of colons was in some of the poudriere scripts.
Thanks,
Denver
Code:
: ${GNUBIN=/usr/local/gnu/bin}
Code:
GNUBIN=/usr/local/gnu/bin
This particular example is from /usr/local/share/gnulib/config/srclistvars.sh, but I think the first place I saw this use of colons was in some of the poudriere scripts.
Thanks,
Denver