News for hackers. Stuff that matters.
Re:Use Long Options in Scripts by sgarland on Saturday March 22, 2025 @08:56AM (#43445405)
To this day, I write tar options with no dash, simply because I can. `tar cvzf foo.tar.gz ./foo`

I would never write a new program with this option, but I do find it a delightful historical oddity.

Re:Use Long Options in Scripts by saghm on Saturday March 22, 2025 @06:26PM (#43449154)
I've noticed that it seems to be a pattern that's used for other compression/decompression software as well. Sometimes mods I use for games will be uploaded as rars or 7zips (I guess because this stuff gets developed on and for Windows, and tarballs aren't really something people use much there), and the CLI invocations I use to extract them always look off to me, especially the 7zip one: `unrar x` and `7z x`.