924
you are viewing a single comment's thread
view the rest of the comments
[-] SpaceNoodle@lemmy.world 5 points 9 months ago

If I can't do it as a Bash one-liner, I'm using Python

[-] Omgpwnies@lemmy.world 3 points 9 months ago* (last edited 9 months ago)

subprocess.Popen(["bash one-liner"], stdout=PIPE, stderr-PIPE, text=True)

[-] SpaceNoodle@lemmy.world 4 points 9 months ago* (last edited 9 months ago)
["bash", "one-liner"]
[-] fluxion@lemmy.world 1 points 9 months ago

I use perl, but everyone hates me and would rather rewrite my little scripts in python than bother changing a single line

[-] SpaceNoodle@lemmy.world 1 points 9 months ago

You're right, everyone hates you.

[-] fluxion@lemmy.world 1 points 9 months ago
[-] SpaceNoodle@lemmy.world 1 points 9 months ago

The good news is that you can stop using Perl at any time.

[-] fluxion@lemmy.world 1 points 9 months ago

For quick data parsing you'll have to pry it from my cold dead hands im afraid

[-] SpaceNoodle@lemmy.world 1 points 9 months ago

That could be arranged. I could bash you over the head with a python.

[-] fluxion@lemmy.world 2 points 9 months ago

It's a kind offer, but my head is far too hard

[-] Shareni@programming.dev 0 points 9 months ago

Grug use go because it easier, faster, and compiles to share with friends of Grug

this post was submitted on 22 Feb 2024
924 points (95.7% liked)

Programmer Humor

19735 readers
896 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS