Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <zlin@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Speed up with pbzip2 or not!?
Date: Sun, 27 Jan 2008 17:55:04
Message-Id: 200801271854.16002.zlin@gentoo.org
In Reply to: Re: [gentoo-user] Speed up with pbzip2 or not!? by Enrico Weigelt
1 On Sunday 27 January 2008 18:29:56 Enrico Weigelt wrote:
2 > Why not an universal wrapper script ?
3 >
4 > maybe something like:
5 >
6 >     magic-uncompress [-t <format>] [-c] [-o <output>] <input>
7 >    
8 > This script could try to find out the input format automatically
9 > (the optional -t parameter allows to explicitly specifiy the format)
10 >
11 > Once we have this script, ebuilds could be rewritten step by step
12 > and no one (else than magic-uncompress) has to care about the actual
13 > commands behind.
14 >
15 > Some could be done w/ tar and zip, etc.
16
17 You've just reinvented unpack(). It's been a part of portage for ages and is
18 used in just about every ebuild in the tree...
19
20 --
21 Bo Andresen

Attachments

File name MIME type
signature.asc application/pgp-signature