Path: 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 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 ./ (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