You are not logged in.
Hi,
When I run `man tar`, I get some man page related to calling tar from within Tcl. Just wondered where the regular tar manpage has gone? There are a bunch of tar-related manpages installed, mainly C Library Calls, but nothing about plain old tar. Have I missed something?
Thanks,
Rob
Offline
Some discussion here: https://bbs.archlinux.org/viewtopic.php … 0#p1335250
For now, use `info tar` or use bsdtar which has a man page.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks. Interesting ... well, I like manpages.
Offline
It is one thing to abhor man pages. I like them, personally. But I can see abhorring them. It is another to (1) prefer info and (2) prevent other people from creating and distributing man pages based on the info documents you provide.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
To clarify, tar upstream never distributed man pages. I used to pull the one that Debian provides into our package. But I think we should package as upstream intended and so have stopped "patching" the package to include one. Also, "tar --help" is essentially a man page in itself.
Offline
Also to clarify, I wasn't intending criticism of the packager but rather of upstream. (And I stand by that even if tar --help does provide a man page.)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
reed1, are you sure it's not the man page for bsdtar?
Is your system up to date?If so, which package provides that manpage?
$ man tar
man: can't resolve /usr/share/man/man1/tar.1.gz: No such file or directory
$ locate bsdtar
/usr/bin/bsdtar
/usr/share/man/man1/bsdtar.1.gzPlease use thumbnails https://wiki.archlinux.org/index.php/Fo … s_and_Code
Last edited by karol (2013-10-18 00:53:26)
Offline
@karol,
It's the bsdtar manpage. 'tar' can be hit as well with:
man 5 taron my system. It also belongs to libarchive.
Offline
@karol,
It's the bsdtar manpage. 'tar' can be hit as well with:
man 5 taron my system. It also belongs to libarchive.
On my system 'man tar' (or 'man 5 tar') says
NAME
tar — format of tape archive filesNow look at his screenshot - it's completely different, it clearly says 'TAR)1)', that's why I asked where did he get it from. As he's using Manjaro and tar 1.26-4, he's not up to date.
Offline
skottish wrote:@karol,
It's the bsdtar manpage. 'tar' can be hit as well with:
man 5 taron my system. It also belongs to libarchive.
On my system 'man tar' (or 'man 5 tar') says
NAME tar — format of tape archive filesNow look at his screenshot - it's completely different, it clearly says 'TAR)1)', that's why I asked where did he get it from. As he's using Manjaro and tar 1.26-4, he's not up to date.
'man tar' on my system produces the exact same manpage as the above post. 'man 5 tar' does what you say. I can reproduce reed1's output.
TAR(1) BSD General Commands Manual TAR(1)
NAME
tar — manipulate tape archives
SYNOPSIS
tar [bundled-flags ⟨args⟩] [⟨file⟩ | ⟨pattern⟩ ...]
tar {-c} [options] [files | directories]
tar {-r | -u} -f archive-file [options] [files | directories]
tar {-t | -x} [options] [patterns]Last edited by skottish (2013-10-18 01:24:48)
Offline
Me, too. But only because I have bsdtar installed.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
@skottish
I'll run mandb and try again. but there's not 'man 1 tar' on my system.
Me, too. But only because I have bsdtar installed.
bsdtar is not a separate package.
Offline
I have a hypothesis and since I'm eating dinner, I'll leave this as an exercise to the audience. In my .bashrc, I have this:
if [ "$PS1" ]; then
complete -cf sudo
complete -cf man
fiI'm wondering if bash-completion is responsible?
Last edited by skottish (2013-10-18 01:35:13)
Offline
@skottish
I'll run mandb and try again. but there's not 'man 1 tar' on my system.cfr wrote:Me, too. But only because I have bsdtar installed.
bsdtar is not a separate package.
Sorry. I know. I just meant that the manual page I get with "man tar" is the bsdtar man page i.e. it is not from the tar package.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
@skottish
Can you get the left part of the screenshot by reed1?
@cfr
I just wanted to ask you, what do you mean by 'me too' :-)
Offline
@skottish
Can you get the left part of the screenshot by reed1?
No. I noticed that the right side was the same and that's when I chimed in.
Offline
@cfr
I just wanted to ask you, what do you mean by 'me too' :-)
I meant that I get a section 1 manual page when I type "man tar" but it is for bsdtar so it is not because I have the tar package installed and it is not a manual page for the GNU version.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Just now (FWIW):
$ man tar
man: can't resolve /usr/share/man/man1/tar.1.gz: No such file or directory
tar(n) Tar file handling tar(n)
... <rest of tcl page> ...
$ sudo mandb
password:
Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man...
... <various warnings and output> ...
$ man tar
TAR(1) BSD General Commands Manual TAR(1)
... <rest of man page matching right side of screenshot above> ...I very rarely run mandb, so my mandb was likely very out-of-date at the start of this sequence.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You don't automate it? It used to drive me nuts that OS X only updated it every week or something (until I figured out how to override this without making Apple's software go nuts).
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I suspect the last time I updated it was *many* months ago, if not years. I've never had any issues, until this quirk which I don't really consider an issue: it didn't find a man(1) page for tar, as there isn't one.
I don't like automating tasks like that - I don't even run a cron implementation. If I want my computer to do something, I'll tell it to, and I'll tell it when to do it. One of many reasons I love arch is it's one of very few distros on which I can actually control such things. Contrast to OSX (as you mentioned it) that decides to reindex everything for "spotlight" slowing the system to a crawl (if not a dead stop) only when you actually need to do something else.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Oh, I hate things which insist on doing them. It is possible to kill spotlight, actually. If you are very determined. (I was extremely determined.) But it is obviously much easier if it doesn't try to do it automatically in the first place.
But I also like automating things I want automated on my terms!
EDIT: That's why Arch is easier than OS X. On OS X, I had to both set up the things I wanted and kill off the things I didn't. On Arch, I only have to do the former. (Well, I would only have to do the former if KDE didn't have some obnoxious habits but those are, thankfully, limited and I would use something else if they were too annoying.)
Last edited by cfr (2013-10-19 01:44:13)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline