summaryrefslogtreecommitdiff
path: root/scripts/dec2hex
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2013-05-27 05:16:01 +0000
committerepoch <epoch@hacking.allowed.org>2013-05-27 05:16:01 +0000
commitec3162296ede3546936e0e6bb7c449ef10edcc75 (patch)
treedcbd552f272e92e0872897d35a37c4d2aaed3b51 /scripts/dec2hex
parent59c1751062b903e3e009afd6ec0effb3bf29f1c0 (diff)
downloadresdb-ec3162296ede3546936e0e6bb7c449ef10edcc75.tar.gz
resdb-ec3162296ede3546936e0e6bb7c449ef10edcc75.zip
changed add_dom to not even bother with anything head -c -1 related. should still work.
added a comment at the top of dec2hex to suggest a shorter version that should work. added a script for generating zonefiles for bind
Diffstat (limited to 'scripts/dec2hex')
-rwxr-xr-xscripts/dec2hex1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dec2hex b/scripts/dec2hex
index e997b20..9194d01 100755
--- a/scripts/dec2hex
+++ b/scripts/dec2hex
@@ -1,4 +1,5 @@
#!/bin/sh
+# maybe use? not sure if this would break anything. : printf "%02X" $1
(
if [ x"$USE_BC" = x1 ]; then
echo -n "obase=16; "