summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexample_scripts/hl_xxd9
1 files changed, 9 insertions, 0 deletions
diff --git a/example_scripts/hl_xxd b/example_scripts/hl_xxd
new file mode 100755
index 0000000..90ba341
--- /dev/null
+++ b/example_scripts/hl_xxd
@@ -0,0 +1,9 @@
+#!/bin/bash
+#
+# Colorize the output of the xxd command
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+#
+# @(#) [MB] cr_hl_xxd Version 1.1 du 15/05/03 -
+#
+
+hl -e -r '(\<0a)|(0a\>)' -b '^[^:]+' -g '.{16}$' -c '[[:xdigit:]]'