More examples for rpm2cpio man page

Masatake YAMATO yamato at redhat.com
Sat Mar 5 16:11:42 UTC 2011


I got a comment privately "-dim" is better than "-id" as an example of
the man page. I agree with the comment.

> Hi,
> 
> 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"
>  .br
>  .I "\fBrpm2cpio - < glint-1.0-1.i386.rpm\fP"
> +.br
> +.I "\fBrpm2cpio - < glint-1.0-1.i386.rpm | (cd /tmp; cpio -id ) \fP"
>  
>  .SH SEE ALSO
>  .IR rpm (8)
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list


More information about the Rpm-list mailing list