The 03.05.20 at 01:46, Anders Johansson wrote:
set is a shell builtin, and so is echo. That must be why it doesn't work for them, they must handle things differently compared to normal programs.
I stand corrected: cer@nimrodel:~> DISPLAY= bash -c set | grep DISPLAY DISPLAY=
Did you look at the C prog I posted? It's very short
Grumble, grumble :-)
[...]
Mmm, it needs "#include