From 29c3615083b1fc5126eb1885c89b6d1ba5dba8bc Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Sun, 13 Aug 2017 17:59:53 +0000 Subject: [PATCH] Actually add octets script --- octets | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 octets diff --git a/octets b/octets new file mode 100644 index 0000000..eb83965 --- /dev/null +++ b/octets @@ -0,0 +1,8 @@ +#! /bin/sh + +## Hex dums all octets +## Sort of like "man ascii" + +cd $(dirname $0) + +for i in $(seq 0 255); do printf "%02x" $i; done | ./unhex | ./hd