~/bdimych >cat x.pl #!/usr/bin/perl print "eval export \"MYENVVAR=MY ENV VALUE3\";\n"; print ": : If you see this, then you launch this script in wrong way : You should launch it only backslashed i.e. `$0` : See \"Command Substitution\" in man bash : "; ~/bdimych >echo $MYENVVAR ~/bdimych >./x.pl eval export "MYENVVAR=MY ENV VALUE3"; : : If you see this, then you launch this script in wrong way : You should launch it only backslashed i.e. `./x.pl` : See "Command Substitution" in man bash : ~/bdimych >`./x.pl` ~/bdimych >echo $MYENVVAR MY ENV VALUE3 ~/bdimych >
In reply to Re^2: Changing a unix users environment
by bdimych
in thread Changing a unix users environment
by muizelaar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |