I’m using bash shell on Linux. I have this simple script …
#!/bin/bash TEMP=`sed -n \'/\'\"Starting deployment of\"\'/,/\'\"Failed to start context\"\'/p\'
I have ran into the same problem, a quote will help
ubuntu@host:~/apps$ apps="abc > def" ubuntu@host:~/apps$ echo $apps abc def ubuntu@host:~/apps$ echo "$apps" abc def