Technically, they’re not environment variables until someone exports them. But you can at least set them to empty:
FOO= some command
If removing them from the environment is enough, you can use env:
env -u FOO somecommand
Technically, they’re not environment variables until someone exports them. But you can at least set them to empty:
FOO= some command
If removing them from the environment is enough, you can use env:
env -u FOO somecommand