326
Made me chuckle (sh.itjust.works)
submitted 2 months ago* (last edited 2 months ago) by 0x4E4F to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 4 points 2 months ago* (last edited 2 months ago)

At some point we all need to move away from insecure bash scripts.

[-] [email protected] 2 points 2 months ago

I personally do most of my heavy scripting in python

[-] [email protected] 2 points 2 months ago* (last edited 2 months ago)

Python is great for scripting, but the advantages of nu and powershell are the ease of interacting with system utilities and the availability of common commands like ls etc.

of course, you can always do subprocess.run or os.listdir(), but that is not as simple as scripting in nu or powershell.

[-] [email protected] 2 points 2 months ago* (last edited 2 months ago)

This is true

Although, i find this isn't as much an issue if you use python's STL as much as you can

Pathlib and shutil are really handy for file manips

But, yea interfacing with external CLI utilities like git is a PITA


Oh there's also xonsh which is just a shell built put of python

this post was submitted on 26 Apr 2024
326 points (93.4% liked)

linuxmemes

19849 readers
810 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS