I'm using ksh with the following script snippet:
SERVER_PREFIX="Server:"
read role <someFile
name=${role}#$SERVER_PREFIX}
This works fine but when I run it in Bourne shell, I get an error.. 'bad subsitution' for the last line of script.
Does anyone know what the correct syntax is?
SERVER_PREFIX="Server:"
read role <someFile
name=${role}#$SERVER_PREFIX}
This works fine but when I run it in Bourne shell, I get an error.. 'bad subsitution' for the last line of script.
Does anyone know what the correct syntax is?