|
|
|
|
|
by pcthrowaway
1141 days ago
|
|
From everything I've heard about Windows turning into user-hostile bloatware over the last few years, nothing in this post seems like a good enough reason to use it. Perhaps it's Stockholm syndrom, but I honestly like my Unix-y tools (bash, jq, awk) at this point Also, regarding this example {
$Env:MYSQL_HOST = "MyHost.com";
$Env:MYSQL_USER = "MyUser";
java -jar myprogram.jar;
}
You can do the same thing in Bash with perhaps slightly more verbosity (
export MYSQL_HOST="MyHost.com";
export MYSQL_USER="MyUser";
sh -c 'echo "using $MYSQL_USER@$MYSQL_HOST"'
)
sh -c 'echo "using $MYSQL_USER@$MYSQL_HOST"'
outputs: using MyUser@MyHost.com
using @
|
|
Compare: