From 7df27c110a0f0a97a940283e20fc52b267f6fdab Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 17 Sep 2024 19:32:05 +0200 Subject: Use rand(3) when stdin is a TTY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- deadshred.1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'deadshred.1') diff --git a/deadshred.1 b/deadshred.1 index eb321d5..be586b2 100644 --- a/deadshred.1 +++ b/deadshred.1 @@ -5,8 +5,8 @@ deadshred \- override the contents of a device that may be broken .SH SYNOPSIS .B deadshred .I device -< -.I random-source +[< +.IR random-source ] .SH DESCRIPTION The @@ -30,8 +30,9 @@ The file to override. Must be either a regular file or a block device. .SH STDIN -The standard input shall be an unless source of either random -data or a particular byte to fill the device with. +Unless the standard input is a terminal device, it shall be an +unless source of either random data or a particular byte to +fill the device with. .SH NOTES While the -- cgit v1.2.3-70-g09d2