From c152abaca1cadda8f15ff98a860282ae2f08b4de Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sun, 1 Aug 2021 11:04:20 -0700 Subject: [PATCH] fix trash example --- sh/trash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/trash b/sh/trash index d2f373e..898cadc 100644 --- a/sh/trash +++ b/sh/trash @@ -7,8 +7,8 @@ trash() { ### @- ### output a given number of bytes from `/dev/random`. ### ### ``` - ### $ trash 10 | hexdump -e '15 1 "%02X " 1 1 "%02X\n"' - ### CB 72 31 A1 BB F0 EC 9F 6E BE + ### $ trash 10 | xxp + ### 3A A5 4F C7 6D 89 E7 D7 F7 0C ### ``` [ $# -le 1 ] || { printf "%s\n" "$0: too many arguments" >&2; return 1; } dd status=none if=/dev/random bs=1 count="${1:?missing count argument}"