Bash script of the day: New .de domains

The one-liner:

for i in `echo {{a..z},{0..9}};echo {{a..z},{0..9}}{{a..z},{0..9}}`;do dict -d all -C ${i}de>/dev/null 2>&1; if [ "$?" == "0" ];then echo $; fi done

or the equivalent multi-liner:

for i in `echo {{a..z},{0..9}};echo {{a..z},{0..9}}{{a..z},{0..9}}`;
    dict -d all -C ${i}de >/dev/null 2>&1;
    if [ "$?" == "0" ]; then
      echo $;

No comment (*cough*)

(P.S. That’s for ASCII alphanumeric domains only)

Leave a Reply

Your email address will not be published. Required fields are marked *

51 ÷ 17 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.