Helper for network device CLI screen scraping adventures