Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2005 23:42:53 -0800
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Christopher Nehren <apeiron+usenet@coitusmentis.info>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Idea for tar feature
Message-ID:  <424663FD.8030902@freebsd.org>
In-Reply-To: <slrnd4c6m6.156p.apeiron%2Busenet@prophecy.dyndns.org>
References:  <20050313223214.D6EE57306E@freebsd-current.sentex.ca> <4243B57D.5050204@freebsd.org> <20050325130458.GA40427@polands.org> <20050326181516.X65159@qbhto.arg> <slrnd4c6m6.156p.apeiron%2Busenet@prophecy.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Nehren wrote:
> 
> Not from gtar, but rather OpenBSD's tar: the -s option, which allows you
> to perform s/// replacements on archive paths.

This is a good idea.  There's already a hook in the
source for doing pathname edits, so the only trick is
implementing the actual substitution code.  I think that
the Henry Spencer regex(3) routines in the FreeBSD libc
should fill the bill nicely.

I'll add it to my TODO list. ;-)

Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?424663FD.8030902>