More examples for rpm2cpio man page

Masatake YAMATO yamato at
Sat Mar 5 02:56:21 UTC 2011


I've found that I invoked "man cpio" every time before
invoking rpm2cpio to know how to handle the output
of rpm2cpio.

How do you think adding one more example to rpm2cpio.8?

Masatake YAMATO

diff --git a/doc/rpm2cpio.8 b/doc/rpm2cpio.8
index dab3df5..7ed4e8b 100644
--- a/doc/rpm2cpio.8
+++ b/doc/rpm2cpio.8
@@ -13,6 +13,8 @@ is read from standard in.
 .I "\fBrpm2cpio rpm-1.1-1.i386.rpm\fP"
 .I "\fBrpm2cpio - < glint-1.0-1.i386.rpm\fP"
+.I "\fBrpm2cpio - < glint-1.0-1.i386.rpm | (cd /tmp; cpio -id ) \fP"
 .IR rpm (8)

More information about the Rpm-list mailing list