IFS=: read -rax for i in {0..7};{ v+=$(printf '%04x' $((16#${x[i]}))) } for ((i=${#v}-1;i>-1;i--));{ printf ${v:i:1}. } echo ip6.arpa.
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page