🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #10

tar.1.11.1

#10
From: Andreas Schott
Date: Wed, 28 Oct 1992 18:05
37 lines
1746 bytes
Dear people from GNU,

if I have a file containing a backslash your tar
behaves strange. Normally one has to escape the
backslash by doubling it, but GNU's tar requires 4
backslashes and displays two but restores with one.

Here an example:

touch a\\b         # creates a file a\b
tar cf test a\\b   # does not work
tar cf test a\\\\b # o.k.
tar tf test        # displays a\\b
tar xf test        # creates a file a\b

The escaping of other special characters as blank
or astrisk seems to be treated correctly. Only the
behaviour for the backslash itself is different from
standard tar or UNIX, so I consider it to be a bug,
and not a feature.

If the backslash is in the name of the file to be
created like in 'tar cf a\\b .' the doubling of
the backslash works correctly. 

The behaviour is the same on CONVEX-C2, IBM-RS6000
and IRIS-4D.

Finally a question concerning sys/mtio.h. We have a
DAT-tape installed in an IRIS-4D. There an sys/mtio.h
exists. We want to use this tape remotely from the
RS6000, where no sys/mtio.h is available. For which
features is it necessary to have the sys/mtio.h and
is it a good or bad advice to copy the relevant part
of sys/mtio.h from the IRIS to the RS6000.

Andreas Schott
Technical Details
Message-ID: <9210281805.AA60225@ibm-2.mpa.ipp-garching.mpg.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ibm-2.mpa.ipp-garching.mpg.de!andreas

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ibm-2.mpa.ipp-garching.mpg.de!andreas
From: andreas@ibm-2.mpa.ipp-garching.mpg.de (Andreas Schott)
Newsgroups: gnu.utils.bug
Subject: tar.1.11.1
Message-ID: <9210281805.AA60225@ibm-2.mpa.ipp-garching.mpg.de>
Date: 28 Oct 92 18:05:48 GMT
Article-I.D.: ibm-2.9210281805.AA60225
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 37
Approved: bug-gnu-utils@prep.ai.mit.edu