Idea for tar feature

Tim Kientzle kientzle at freebsd.org
Sat Mar 26 23:42:59 PST 2005


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



More information about the freebsd-current mailing list