Comment on Why are people seemingly against AI chatbots aiding in writing code?
petrol_sniff_king@lemmy.blahaj.zone 3 months agoI also noticed that they were talking about sending arguments to a custom function? That’s like a day-one lesson if you already program. But this was something they couldn’t find in regular search?
Maybe I misunderstood something.
sugar_in_your_tea@sh.itjust.works 3 months ago
Exactly. If you understand that functions are just commands, then it’s quite easy to extrapolate how to pass arguments to that function:
Once you understand that core concept, a lot of Bash makes way more sense. Oh, and most of the syntax I provided above is completely unnecessary, because Bash…