Paul SomeoneElse on Nostr: I don't understand writing shell code with BASH extensions. Or any non-bourne/posix ...
I don't understand writing shell code with BASH extensions.
Or any non-bourne/posix extensions.
If the language is too klunky use a higher level language. The reason to use shell is because it us ubiquitous.
/bin/sh <- this is ubiquitous. This is not bash.
/bin/bash <- this is not ubiquitous.
Published at
2024-07-25 14:52:25Event JSON
{
"id": "6dcb1934a51722f067d3da3a3d05e91051c07d689c5250a5274cba6fde70f3f9",
"pubkey": "2282f531cd6204c7bca386d95164bb61508ad565a37ea11da86b082a664acb40",
"created_at": 1721919145,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.sdf.org/users/pkw/statuses/112847693147770911",
"activitypub"
]
],
"content": "I don't understand writing shell code with BASH extensions.\nOr any non-bourne/posix extensions.\n\nIf the language is too klunky use a higher level language. The reason to use shell is because it us ubiquitous.\n\n/bin/sh \u003c- this is ubiquitous. This is not bash.\n\n/bin/bash \u003c- this is not ubiquitous.",
"sig": "c725f1db666f2da1874f776fb1f571595029cab6a67fb382d1665e3017162ba61fd305a8a913feff3a0db400f375c1057b7e82efb0732cab3bcd6e3f72a5a037"
}