Skip to content

Comment on What coding mnemonics do you use?

Comments

Questionably coding, but I always loved this IRC snippet:

<sdmkun> tar -xzf merc.tgz what the fuck

<sdmkun> how the fuck do you people remember this shit

<bucketmouse> just think with a german accent

<bucketmouse> XTRACT ZE FILES

I really don't see what the big deal is with tar. Everyone seems to hate it. Probably because exactly one of those flags is necessary: zcat merc.tgz | tar -x

I quite like it, and have almost a singalong bit for the meaning attached to each character I add to a long tar command

tar - [create] [verbosely] [a g/bzip'd compressed] [file named] foo.tgz (from) input_dir

tar -cvzf foo.tgz input_dir

Your version doesn't seem as 'fun', I guess zcat and PIPE are just hard to rhyme along to.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.