Post 9oQLiIyDdZOpH9SWXo by dumol@mastodon.sdf.org
(DIR) More posts by dumol@mastodon.sdf.org
(DIR) Post #9oP2hZfRylbkU6esNs by sir@cmpwn.com
2019-10-29T01:08:15Z
0 likes, 0 repeats
Secret skill: I can write most tar commands without consulting the man page
(DIR) Post #9oP2hd3fNBlF050l2u by lanodan@queer.hacktivis.me
2019-10-29T01:12:37.272849Z
1 likes, 0 repeats
@sir I think it's actually been months since I looked at the manpage of GNU tar or LibArchive's (bsd)tar.
(DIR) Post #9oPVKxYzrkUSbgCzQW by Wolf480pl@niu.moe
2019-10-29T07:16:24Z
0 likes, 0 repeats
@sir Does this also apply to AIX tar, HP-UX tar and SCO tar? I've heard some of them don't allow dashes before options, while others require dashes, which is what makes the tar XKCD difficult.
(DIR) Post #9oQ9L9aFAi7S3LRHH6 by wizard@welovela.in
2019-10-29T01:09:46.182340Z
1 likes, 0 repeats
@sir Have you considered a job on a bomb squad?
(DIR) Post #9oQLiIyDdZOpH9SWXo by dumol@mastodon.sdf.org
2019-10-29T17:03:14Z
0 likes, 0 repeats
@Wolf480pl All three of them allow dashes, eg. -xf works. Also on the BSDs, Linux, macOS, etc…
(DIR) Post #9oQNdLZcjMO1oHibRo by Wolf480pl@niu.moe
2019-10-29T17:24:46Z
0 likes, 0 repeats
@dumol not on SCO Unixhttp://osr600doc.sco.com/en/manC/tar.C.html
(DIR) Post #9oQWFkUbKWPxjTBw8G by dumol@mastodon.sdf.org
2019-10-29T19:01:22Z
0 likes, 0 repeats
@Wolf480pl Ah sorry, confusion on my part! Thought you refered to AIX, HP-UX and *Solaris*. I have never touched a SCO Unix server.
(DIR) Post #9oQXCfquE3oAQUipYu by Wolf480pl@niu.moe
2019-10-29T19:12:00Z
0 likes, 0 repeats
@dumol neither did I, but comments on explainxkcd said dash/no-dash was a problem on older Unices, so I quickly checked docs of all old Unices that came to my mind and found SCO.Also, judging by AIX's tar manpage[1], the no-dash syntax has its roots in BSD, while the dash syntax was standardized by X/Open. So I guess pre-X/Open BSDs could not support dashes.[1]: https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/t_commands/tar.html