cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoLike programming in bashimagemessage-square184fedilinkarrow-up11.59Kcross-posted to: [email protected]
arrow-up11.59KimageLike programming in bashcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square184fedilinkcross-posted to: [email protected]
minus-squareperishthethought@lemm.eelinkfedilinkEnglisharrow-up51·2 days agoI don’t normally say this, but the AI tools I’ve used to help me write bash were pretty much spot on.
minus-squaremarduk@lemmy.sdf.orglinkfedilinkarrow-up25·2 days agoYes, with respect to the grey bearded uncles and aunties; as someone who never “learned” bash, in 2025 I’m letting a LLM do the bashing for me.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up39·2 days agoUntil the magic incantations you don’t bother to understand don’t actually do what you think they’re doing.
minus-squareembed_me@programming.devlinkfedilinkarrow-up39·2 days agoSounds like a problem for future me. That guy hates me lol
minus-squarearendjr@programming.devlinkfedilinkarrow-up11·edit-21 day agoIn fairness, this also happens to me when I write the bash script myself 😂
minus-squareMBM@lemmings.worldlinkfedilinkarrow-up14·1 day agoI wonder if there’s a chance of getting rm -rf /* or zip bombs. Those are definitely in the training data at least.
minus-squarefurikuri@programming.devlinkfedilinkarrow-up2·22 hours agoThe classic rm -rf $ENV/home where $ENV can be empty or contain spaces is definitely going to hit someone one day
minus-squarekameecoding@lemmy.worldlinkfedilinkarrow-up4·1 day agoYes, I have never wrote a piece of code that didn’t do what I thought it would before LLMs, no sir.
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up17·edit-22 days agoYeah, an LLM can quickly parrot some basic boilerplate that’s showed up in its training data a hundred times.
minus-squareewenak@jlai.lulinkfedilinkarrow-up1·1 day agoIf When the script gets too complicated, AI could also convert it to Python. I tried it once at least, and it did a pretty good job, although I had to tell it to use some dedicated libraries instead of calling programs with subprocess.
minus-squarehenfredemars@infosec.publinkfedilinkEnglisharrow-up6·2 days agoFor building a quick template that I can tweak to my needs, it works really well. I just don’t find it to be an intuitive scripting language.
I don’t normally say this, but the AI tools I’ve used to help me write bash were pretty much spot on.
Yes, with respect to the grey bearded uncles and aunties; as someone who never “learned” bash, in 2025 I’m letting a LLM do the bashing for me.
Until the magic incantations you don’t bother to understand don’t actually do what you think they’re doing.
Sounds like a problem for future me. That guy hates me lol
Yeah fuck that guy
In fairness, this also happens to me when I write the bash script myself 😂
I wonder if there’s a chance of getting
rm -rf /*
or zip bombs. Those are definitely in the training data at least.The classic
rm -rf $ENV/home
where$ENV
can be empty or contain spaces is definitely going to hit someone one dayYes, I have never wrote a piece of code that didn’t do what I thought it would before LLMs, no sir.
Yeah, an LLM can quickly parrot some basic boilerplate that’s showed up in its training data a hundred times.
IfWhen the script gets too complicated, AI could also convert it to Python.I tried it once at least, and it did a pretty good job, although I had to tell it to use some dedicated libraries instead of calling programs with subprocess.
For building a quick template that I can tweak to my needs, it works really well. I just don’t find it to be an intuitive scripting language.