On 12/15/2015 03:39 PM, Andreas Schwab wrote: > Aurelien ROUGEMONT <be...@gandi.net> writes: > >> Description: >> in the posix shell specification [1] when a script tries to to >> overwrite a readonly variable it should crash the script. >> >> Repeat-By: >> #!/bin/bash >> readonly rovar="goodvalue" >> rovar="badvalue" >> echo "You should not see this message" > > You are not running the shell in posix mode. > > Andreas. > Oh true. sorry about the noise then. thought bash would behave the same as sh/dash/manyothersihavetested.
Nevermind Thanks for the feedback. -- Aurelien Domain Name Registrar \o/ Hosting For Geeks and more... Gandi.net No Bullshit !
signature.asc
Description: OpenPGP digital signature