Комментарии:
I don't think I'll ever get sick of hearing about bash shell scripting. Even if I think I could probably do the same things faster (and more securely) in C.
ОтветитьThose color are added by terminal or kind of collaterall damage ?
ОтветитьSo... I'm definitely an idiot, but is the env command treating each of those arguments (separated by spaces after "env -") as a a statement to be executed and the standard output from each is actually put into the environment variables?
ОтветитьWhen spawning a child process with Rust (and probably other languages too, I just only encountered this in Rust), if you set its working directory, the PWD environment variable will not point to the current directory. You gotta set that manually by passing PWD as an environment variable when spawning the child.
Intuitively I somehow just expected that the PWD variable always points to the current working directory
This turned up in my feed. Eh. The "how" of using env is WAY less interesting than the "why". A better video would have been an example of lifting config out of source into env. Maybe your jam is <3 minute video though, I dunno.
ОтветитьHonestly, I like your content, but seriously, why did you choose the most openly condescending channel name possible?
Ответитьconfig.sys
Ответить