kasdeya on Nostr: shell scripts:<li>so many footguns</li><li>have to parse text with <code>sed</code> ...
shell scripts:<li>so many footguns</li><li>have to parse text with <code>sed</code> and <code>awk</code></li><li>read-only language</li><li>syntax that was outdated in the 90's</li><li>just why?</li>
python scripts:<li>easy to run command-line stuff with <code>subprocess.run</code></li><li>sane syntax</li><li>you'd have to actually <em>try</em> to make it unreadable</li><li>welcome to the 21st century</li>
Published at
2024-09-16 19:26:00 UTCEvent JSON
{
"id": "46fbba6e41e8bb4647575301a7ba98e3270dd320ac5aaed198dd49424ecec4f7",
"pubkey": "e3f3536b8042e03000ae928cddcf33fbacbed5cdf5172932178f1114a3f72c9f",
"created_at": 1726514760,
"kind": 1,
"tags": [
[
"proxy",
"https://tech.lgbt/@kasdeya/113148871346331214",
"web"
],
[
"proxy",
"https://tech.lgbt/users/kasdeya/statuses/113148871346331214",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://tech.lgbt/users/kasdeya/statuses/113148871346331214",
"pink.momostr"
],
[
"-"
]
],
"content": "shell scripts:\u003cli\u003eso many footguns\u003c/li\u003e\u003cli\u003ehave to parse text with \u003ccode\u003esed\u003c/code\u003e and \u003ccode\u003eawk\u003c/code\u003e\u003c/li\u003e\u003cli\u003eread-only language\u003c/li\u003e\u003cli\u003esyntax that was outdated in the 90's\u003c/li\u003e\u003cli\u003ejust why?\u003c/li\u003e\n\npython scripts:\u003cli\u003eeasy to run command-line stuff with \u003ccode\u003esubprocess.run\u003c/code\u003e\u003c/li\u003e\u003cli\u003esane syntax\u003c/li\u003e\u003cli\u003eyou'd have to actually \u003cem\u003etry\u003c/em\u003e to make it unreadable\u003c/li\u003e\u003cli\u003ewelcome to the 21st century\u003c/li\u003e",
"sig": "068769fb1544f1e9d7c6be008229ebb4ee2426ea8e69fce8eff635621cab725d9165f814dec62ef5d1713fa79333d7c99c9499d1446c36ada9db85320310578b"
}