Julia Evans on Nostr: will probably delete this once I get an answer but is there a practical difference ...
will probably delete this once I get an answer but is there a practical difference between setting environment variables with:
NAME=val cmd
and
env NAME=val cmd
obviously `env` is a program, but I feel like I used to have some real reason to prefer one over the other and now I forget what it was, I just use them interchangeably more or less at random
Published at
2025-01-27 21:20:37 UTCEvent JSON
{
"id": "99cacd61963e0c87a1ebb45f7831bfe9f7cb540c345334ee9b65048a5d4856e2",
"pubkey": "26cad6f140bf86de9c26b7c15419cab1aebdd7086358d26aa2d750e21cf3bf2e",
"created_at": 1738012837,
"kind": 1,
"tags": [
[
"proxy",
"https://social.jvns.ca/users/b0rk/statuses/113902409329872222",
"activitypub"
]
],
"content": "will probably delete this once I get an answer but is there a practical difference between setting environment variables with:\n\nNAME=val cmd\n\nand \n\nenv NAME=val cmd \n\nobviously `env` is a program, but I feel like I used to have some real reason to prefer one over the other and now I forget what it was, I just use them interchangeably more or less at random",
"sig": "3c4f719efd35456c7e3b95c552e2f770734ad394a292a7980b30a32570a89938f992673fb4debd5b0486eb520d91df673ae868cb7c12aeee0138d0123e288a91"
}