This is my Sed command:
sed -i 's:io.gatling.app.Gatling:io.gatling.app.Gatling -s "redirects.RedirectLoad" -df /opt/gatling/user-files/data:g' gatling.sh
gatling.sh contains the following:
"$JAVA" $DEFAULT_JAVA_OPTS $JAVA_OPTS -cp "$GATLING_CLASSPATH" io.gatling.app.Gatling "$@"
I'm getting a few issues, mostly due to the whitespaces and /
characters. I thought I'd fixed it but now i'm getting extra character errors.
Was missing the -e
.
This did the job:
sed -i -e 's:io.gatling.app.Gatling:io.gatling.app.Gatling -s "redirects.RedirectLoad" -df /opt/gatling/user-files/data:g' gatling.sh
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With