758

source

img title="I don't know what's worse--the fact that after 15 years of using tar I still can't keep the flags straight, or that after 15 years of technological advancement I'm still mucking with tar flags that were 15 years old when I started."

you are viewing a single comment's thread
view the rest of the comments
[-] Scipitie@lemmy.dbzer0.com 30 points 9 months ago

tar

Done. That's a valid command, no error code, nothing. KISS!

[-] backhdlp@iusearchlinux.fyi 52 points 9 months ago

false

tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information.
zsh: exit 2     tar
[-] Huschke@lemmy.world 25 points 9 months ago
[-] Scipitie@lemmy.dbzer0.com 7 points 9 months ago

OK now I have to escape to really smart assery and assume that's what I meant the whole time ;)

Edit code 2 describes something that went wrong - but that something telling you that it went wrong was the tar binary which therefor most have been valid to evaluate that!

Under no circumstances did I assume that the hint towards help itself would've been an exit code 0, no sir!

To be honest: if I'd designed that bomb it would've exploded in my face for trying to be too clever.

[-] TheRealKuni@lemmy.world 5 points 9 months ago
this post was submitted on 12 Mar 2024
758 points (98.8% liked)

Programmer Humor

32706 readers
345 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS