Search Results

Search: Posts Made By: pravintse
2,861
Posted By pravintse
I'm getting below error, when I tried ...
I'm getting below error, when I tried
${tvar1/true/false}

test5.sh: line 8: false: command not found
2,861
Posted By pravintse
Manipulating a variable using sed (solved)
Hi,

My variable has value as this:
tvar1="bool_risk_enabled" Boolean "true"

Now I need to replace this true with false. Which is the best way to do this? Can we do this with sed command?
...
1,593
Posted By pravintse
Great. yes michael. It worked, my issue was...
Great. yes michael. It worked, my issue was getting value from environments variable svar4.
Thank you very much.
1,593
Posted By pravintse
Forgot to say this
Sorry, Forgot to say that I cannot use environment variable name here. I mean, I cannot use 'BMS_EMAIL_ENABLED'. Because script should be able to use variables like 'AJB_BATCH_ENABLE' also. So in my...
1,593
Posted By pravintse
sed with complicated variable pattern
Hi,
Below is the content of the file how it looks:
# EMAIL
#export BMS_EMAIL_ENABLED=true
export BMS_EMAIL_ENABLED=false
#export BMS_EMAIL_SERVER=esasmtp01.kohls.com
export...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 03:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy