From
https://sourceforge.net/projects/mcj/files/
I downloaded
xfig-full-3.2.7a.tar.xz
to my macOS 10.12.6. I double clicked on the icon and it created
a new file. Clicking on that I got another ... the series is:
xfig-full-3.2.7a.tar.xz.cpgz
xfig-full-3.2.7a.tar\ 2.xz
xfig-full-3.2.7a.tar\ 2.xz.cpgz
xfig-full-3.2.7a.tar\ 2\ 2.xz
xfig-full-3.2.7a.tar\ 2\ 2.xz.cpgz
Using my diffall script
https://alum.mit.edu/www/toms/ftp/diffall
to compare all the files
I found:
% diffall xfig*
version = 1.28 of diffall 2017 Jul 14
2018Aug31_18:18:40
1 xfig-full-3.2.7a.tar 2 2.xz
2 xfig-full-3.2.7a.tar 2 2.xz.cpgz
3 xfig-full-3.2.7a.tar 2.xz
4 xfig-full-3.2.7a.tar 2.xz.cpgz
5 xfig-full-3.2.7a.tar.xz
6 xfig-full-3.2.7a.tar.xz.cpgz
123456
1 .=.=.
2 .....
3 =..=.
4 .....
5 =.=..
6 .....\
number of pairings equal 3
number of pairings not equal 12
The '=' signs show that I'm going in circles and never untar the file!
Help!!!
Thomas D. Schneider, Ph.D.
Senior Investigator
National Institutes of Health
National Cancer Institute
Center for Cancer Research
RNA Biology Laboratory
Biological Information Theory Group
Frederick, Maryland 21702-1201
schneidt@mail.nih.gov
I don't know, what "clicking on an icon" in macOS means, nor do I understand what all these freshly created files come from.
I just downloaded xfig-full-3.2.7a.tar.xz from the NetCologne SourceForge mirror. It has the following md5sum: 3019d82efaa1277493bd42e1970897af
Please check this to prove, that we are talking about the same file.
If I unpack this file with tar xvfJ, this results in two directories (fig2dev-3.2.7a and xfig-3.2.7a), which contain the sources of fig2dev and xfig.
Maybe your system doesn't support xz compression (https://en.wikipedia.org/wiki/Xz) and creates the above mentioned fragments on trying to first unxz and than untar the file?
Last edit: Roland Rosenfeld 2018-09-01
Roland:
Thanks for the quick response.
That's odd! I've met many people who don't know what the command line
is, but never ones who don't know about the modern graphical
interfaces! Or maybe it's a matter of English descriptions of things?
(I'm guessing from your download that you are in Germany.) Anyway,
for your information (FYI) ... "clicking on an icon" means to move
(using a physical mouse device - you know what that is?) the mouse
pointer over the graphical symbol representing a file and then
depressing the (usually left) mouse button twice rapidly. This causes
the object to open (tar xvf in this case).
% md5sum xfig-full-3.2.7a.tar.xz
3019d82efaa1277493bd42e1970897af xfig-full-3.2.7a.tar.xz
% md5sum xfig-full-3.2.7a.tar.xz | grep 3019d82efaa1277493bd42e1970897af
3019d82efaa1277493bd42e1970897af xfig-full-3.2.7a.tar.xz
I grepped using your string so the file we are discussing is (almost
certainly) the same.
That worked! My tar knows xvf but J is not listed in the man page;
but it does unpack both directories.
Apparently macOS does not support the usual graphical click method but
it works from the command line. By the way, I tried 'tar xvf' and
that works. It seems that tar (here?) ignored the J.
THANKS!!!
Tom
Thomas D. Schneider, Ph.D.
Senior Investigator
National Institutes of Health
National Cancer Institute
Center for Cancer Research
RNA Biology Laboratory
Biological Information Theory Group
Frederick, Maryland 21702-1201
schneidt@mail.nih.gov
https://schneider.ncifcrf.gov (current link)
https://alum.mit.edu/www/toms (permanent link)
Related
Tickets:
#32I know, what klicking on an icon means, but I still do not know what it means on macOS.
Seems that for tar.xz files it means to create some unusable files...
It "opens" the file - if it is compressed it will uncompress. a
tar.gz file would first be ungz'd and then untar'd. - one can see it
doing that graphically and it's convenient and fast.
It's a bug in Apple code.
Since it's not an xfig bug an macOS issue, I close this ticket.