55

Didn't know about auto populating search queries, abbreviations, string scripting, and using private mode.

you are viewing a single comment's thread
view the rest of the comments
[-] Laser@feddit.org 2 points 6 months ago

Same, but I don't think it was ever intended differently; I mean the word interactive is literally in the name. If you want portable scripts, use bash. For simple helpers, quickly define a function. If you feel your script becomes too long, use Python.

[-] SinTan1729@programming.dev 3 points 6 months ago

Agree, although I've recently replaced the python usecase with Go. Almost as easy to write, but much faster and safer.

[-] Laser@feddit.org 1 points 6 months ago

Oh yeah, I never used Python myself and did some very simple (but IMHO too much hassle in bash) Go stuff some time ago. It's a really good language for that, and if you can't build on the target, the binary is statically linked anyways.

[-] UndercoverUlrikHD@programming.dev 1 points 5 months ago
[-] SinTan1729@programming.dev 2 points 5 months ago

Well, it's statically typed, and it's memory safe. (There can be some race conditions during concurrent execution, but that's not relevant for simple scripts.)

this post was submitted on 16 Aug 2025
55 points (92.3% liked)

Linux

12320 readers
646 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS