Messages in this thread | | | Subject | Re: /usr/src/linux/Documentation/Changes | Date | Sun, 04 Apr 1999 21:06:50 -0400 | From | "Brandon S. Allbery KF8NH" <> |
| |
In message <Pine.LNX.4.10.9904041732110.17958-100000@tahallah.demon.co.uk>, Ale x Buell writes: +----- | The 1.55 release: | ftp://ftp.uk.linux.org/pub/linux/sct/quota/quota-1.55-10.i386.rpm | ftp://ftp.uk.linux.org/pub/linux/sct/quota/quota-1.55-10.src.rpm | | WHY IS THIS ONLY IN RPM FORMAT?! Please could we have a tarball of the | sources!! I am not downloading RPM just to get at the sources! (Yes, I | checked in the ftp server) +--->8
While I agree with you, there is a workaround:
#! /usr/local/bin/perl -w use strict;
my $pre = 1; my ($buf, $x); while (defined ($x = read(STDIN, $buf, 4096)) && $x > 0) { if ($pre && ($x = index($buf, "\037\213")) != -1) { $buf = substr($buf, $x); $pre = 0; } print $buf unless $pre; }
Used as: perl unrpm.pl <foo.rpm | gzip -d | cpio -id
-- brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net system administrator [WAY too many hats] allbery@ece.cmu.edu carnegie mellon / electrical and computer engineering KF8NH We are Linux. Resistance is an indication that you missed the point.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |