a guest Dec 18th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- hosts_dirty = net_view.split("\r\n").grep /^\\\\/
- hosts_dirty.each do |host|
- hosts = Array.new
- hosts << host.gsub('\\','')
- puts hosts
RAW Paste Data