|
From: | Joerg Schilling |
Subject: | Re: [Bug-tar] feature request: access to archive members by applications like grep, md5sum, ... |
Date: | Mon, 22 Nov 2004 22:00:24 +0100 |
User-agent: | nail 11.2 8/15/04 |
Hansjoerg Lipp <address@hidden> wrote: > As I (and other people I asked) couldn't find any tar option or another > tool which solves this problem, I wrote a patch for GNU tar which allows > something like this: > > $UNPACK | tar E 'grep -q $EXPRESSION && printf %s\\n "$TAR_NAME"' > > You can find the patch (which is tested with GNU/Linux and Tru64) at > > http://www.physcip.uni-stuttgart.de/phy31407/tar/tar-1.14.90-e-03.diff.20041122.01 > (applies to tar 1.14.90). > > It introduces the operation mode 'E' (for execute) which executes a It is a really bad idea to reuse option letters that arer already used by other tar implementations for many years. Solaris tar uses -E since 1997...... Jörg -- EMail:address@hidden (home) Jörg Schilling D-13353 Berlin address@hidden (uni) If you don't have iso-8859-1 address@hidden (work) chars I am J"org Schilling URL: http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily
[Prev in Thread] | Current Thread | [Next in Thread] |