Parameter resolving incorrectly

usha510

New Member
Credits
0
Dev server:
code has,
export DBDELIM=${DBDELIM:=|}
log resolved parameter value as,
--test.sh:64+export $'DBDELIM=\037'
--test.sh:64+DBDELIM=$'\037'

Prod server:
code has,
export DBDELIM=${DBDELIM:=|}
log resolved parameter value as,
--test.sh:64+export 'DBDELIM=|'
--test.sh:64+DBDELIM='|'

can some one tell reason for this differences
 


neskepi

New Member
Credits
0
you can use diff like so:

diff dev.txt prod.txt

output:
--- dev.txt
+++ prod.txt
@@ -1,4 +1,4 @@
export DBDELIM=${DBDELIM:=|}
log resolved parameter value as,
---test.sh:64+export $'DBDELIM=\037'
---test.sh:64+DBDELIM=$'\037'
+--test.sh:64+export 'DBDELIM=|'
+--test.sh:64+DBDELIM='|'
 


Members online


Latest posts

Top