Unix & Linux: Function to conditionally set a variable read-only (3 Solutions!!)

Published --