GNU bug report logs - #30177
doc: shred: mention stdin must be a file, not a pipe

Previous Next

Package: coreutils;

Reported by: devzero <at> web.de

Date: Fri, 19 Jan 2018 20:57:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 30177 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#30177; Package coreutils. (Fri, 19 Jan 2018 20:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to devzero <at> web.de:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Fri, 19 Jan 2018 20:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: devzero <at> web.de
To: bug-coreutils <at> gnu.org
Subject: improve shred manpage
Date: Fri, 19 Jan 2018 21:53:28 +0100
i tried to compare performance of shred and dd, because a colleague told, shred -n0 -z would be faster.

the shred manpage tells:
If FILE is -, shred standard output 

But:
# shred - | pv >/dev/null
shred: - invalid file type
0 B 0:00:00 [   0 B/s]  [<=>

i found https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=155175 

as "-" works when redirecting to a file, i assume it doesn't work with a pipe because shred needs to seek within the file, which is not possible with a pipe.

i think shred -n0 -z  could be handled as a special case but it would not be worth the effort.

could you perhaps enhance the manpage apropriately, as already suggested in the debian bugreport?

regards 
roland




Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 02:35:01 GMT) Full text and rfc822 format available.

Changed bug title to 'doc: shred: mention stdin must be a file, not a pipe' from 'improve shred manpage' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 02:35:01 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.