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

Programmer Humor

19229 readers
664 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 7 months ago (3 children)

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

[–] [email protected] 3 points 7 months ago* (last edited 7 months ago) (1 children)

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

[–] [email protected] 4 points 7 months ago* (last edited 7 months ago)
["bash", "one-liner"]
[–] [email protected] 1 points 7 months ago (1 children)

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

[–] [email protected] 1 points 7 months ago (1 children)

You're right, everyone hates you.

[–] [email protected] 1 points 7 months ago (1 children)
[–] [email protected] 1 points 7 months ago (1 children)

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

[–] [email protected] 1 points 7 months ago (1 children)

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

[–] [email protected] 1 points 7 months ago (1 children)

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

[–] [email protected] 2 points 7 months ago

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

[–] [email protected] 0 points 7 months ago

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