🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2151

Re: PAX problems with linked files

#2151
From: Glenn Fowler[drew]
Date: Mon, 20 Mar 1989 04:05
17 lines
1364 bytes
In article <1122@frog.UUCP>, john@frog.UUCP (John Woods) writes:
> In article <1989Mar17.174014.15444@tmsoft.uucp>, woods@tmsoft.uucp (Greg Woods) writes:
> > I would also like to see extraction always create under the current
> > directory, regardless of whether there is a leading slash on the ...
> UNOS' archive-reader program (installation) takes an argument to strip
> a leading string from filenames, which not only handles turning ...

no need to hack the semantics

the -s option allows ed(1) style substitutions on archive pathnames
	-s ',^/*,,'
makes all archive pathnames relative to . and
	-s ',.*/,,'
collapses all pathnames to ./<base> (any delimiter, `comma' here, is valid)
-- 
Glenn Fowler    (201)-582-2195    AT&T Bell Laboratories, Murray Hill, NJ
uucp: {att,decvax,ucbvax}!ulysses!gsf       internet: gsf@ulysses.att.com
Technical Details
Message-ID: <11337@ulysses.homer.nj.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ulysses!gsf
References: <1989Mar17.174014.15444@tmsoft.uucp> <1122@frog.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!ulysses!gsf
From: gsf@ulysses.homer.nj.att.com (Glenn Fowler[drew])
Newsgroups: comp.sources.bugs
Subject: Re: PAX problems with linked files
Summary: pax -s /old/new/
Keywords: pax tar cpio archive tape
Message-ID: <11337@ulysses.homer.nj.att.com>
Date: 20 Mar 89 04:05:31 GMT
References: <1989Mar17.174014.15444@tmsoft.uucp> <1122@frog.UUCP>
Organization: AT&T Bell Laboratories, Murray Hill
Lines: 17