From d36677106b32bae92fa7286a917d1b0f7abee5fd Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 19 Apr 2010 07:37:46 +0000 Subject: added rDNS to tinydns datafile generation --- scripts/hex2dec | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/hex2dec (limited to 'scripts/hex2dec') diff --git a/scripts/hex2dec b/scripts/hex2dec new file mode 100755 index 0000000..7b66be9 --- /dev/null +++ b/scripts/hex2dec @@ -0,0 +1,9 @@ +#!/bin/sh +( + echo -n "ibase=16; " + if [ x"$1" = x ]; then + cat + else + echo "$1" + fi +) | bc -q -- cgit v1.2.3