FozzTexx on Nostr: To people writing shell scripts: stop putting a .sh extension on them if I can't do ...
To people writing shell scripts: stop putting a .sh extension on them if I can't do `sh script.sh`
The extension is supposed to tell me which interpreter I can use to run it. If you're going to get it wrong then you might as well put any other random extension on it like .py or .tcl.
Published at
2023-09-16 14:41:41Event JSON
{
"id": "271a0c7d31bb8b4eea3db3df61df7b9639acbfc291bd74ae50b9dc0dc3eef270",
"pubkey": "8560c6dddb705086260f5888fa71f69b9a02172412d3ae4911cdcc0d1d235d28",
"created_at": 1694875301,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.fozztexx.com/users/fozztexx/statuses/111075347787453567",
"activitypub"
]
],
"content": "To people writing shell scripts: stop putting a .sh extension on them if I can't do `sh script.sh`\n\nThe extension is supposed to tell me which interpreter I can use to run it. If you're going to get it wrong then you might as well put any other random extension on it like .py or .tcl.",
"sig": "5c3db51466c10f1759a25184bef50d22981250a92bc8c81c6287170ad6391d2550f28b6834612ada015de85fe3f22bc068583244ebdd253e45e0873b348bb769"
}