dotfiles

<-- duh.
git clone https://hhvn.uk/dotfiles
git clone git://hhvn.uk/dotfiles
Log | Files | Refs | Submodules | LICENSE

rhosts (266B)


      1 #!/bin/rc
      2 # Find all reverse host pointers for an addr by getting addrs with host(1),
      3 # and then passing them back to host(1) in order to do the reverse lookups.
      4 
      5 for (a in `{host $* | tee /dev/stderr | awk '$2 == "has" && $3 == "address" {print $4}'}) {
      6 	host $a
      7 }