EN VI
Posts (0)
Questions (3)
2024-03-12 20:30:14
As others have mentioned, there is no subshell in your code. I think you probably saw code like num=27; seq 3 | while IFS= read -r line; do num="$line"; echo "inside: $num"; done; echo "outside: $num"...
Tags: bash shell variables
2024-03-12 22:30:04
You need: env=stage; AWS_REGION="us-west-2" AWS_PROFILE="$env" mvn clean test -Dtest="KarateRunner#$env" -DargLine="-Dkarate.env=$env"
Tags: bash shell
2024-03-14 00:00:12
I know a trick $ unset x $ echo "${x:-${_/*/~}}" /home/oguz but you should just use $HOME.
Tags: bash shell

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login