eliminiated one external call from hostaddr.sh.linux-gnu