From 4af919369e872569dad5548882f8d86389235095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20J=C3=B8rgen=20Walstr=C3=B8m?= Date: Mon, 30 Nov 2020 13:09:35 +0100 Subject: [PATCH] xxd: add -a for compact output example (#4990) --- pages/common/xxd.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/xxd.md b/pages/common/xxd.md index f319ae04c..337607475 100644 --- a/pages/common/xxd.md +++ b/pages/common/xxd.md @@ -10,6 +10,10 @@ `xxd {{input_file}} {{output_file}}` +- Display a more compact output, replacing consecutive zeros (if any) with a star: + +`xxd -a {{input_file}}` + - Display the output with 10 columns of one octet (byte) each: `xxd -c {{10}} {{input_file}}`