bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-cpio] --help gives wrong info


From: Reinhold Patzer
Subject: [Bug-cpio] --help gives wrong info
Date: Sun, 20 Nov 2011 00:38:52 +0100
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.9-desktop; KDE/4.6.0; x86_64; ; )

Dear cpio-developers,

there's misleading info in the --help option's output.

The help text gives the impression that there should be one terminating
null character for the complete list of filenames:

  -0, --null                 A list of filenames is terminated by a null
                             character instead of a newline

You might change this to be correct by writing

Each filename of the list is expected to be
terminated by a null character instead
of a newline. This works even if filenames contain
newline(s).

You might add

The corresponding option for find is -print0.

Sure, my text is a lot longer....

Best regards,
Reinhold


cpio --version
cpio (GNU cpio) 2.11
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Phil Nelson, David MacKenzie, John Oleynick,
and Sergey Poznyakoff.

openSuSE 11.4



reply via email to

[Prev in Thread] Current Thread [Next in Thread]