sed -E 's/([0-9]{,3}).([0-9]{,3}).([0-9]{,3}).([0-9]{,3})[s ]*-[s ]*([0-9]{,3}).([0-9]{,3}).([0- 9]{,3}).([0-9]{,3})/1-5.2-6.3- 7.4-8/g' This monstrosity here, I call ripe2nmap. @commandlinefu 0 atbildes

Kirils Solovjovs
(2019-10-01 20:25:07)
@twitter
sed -E 's/([0-9]{,3}).([0-9]{,3}).([0-9]{,3}).([0-9]{,3})[s ]*-[s ]*([0-9]{,3}).([0-9]{,3}).([0- 9]{,3}).([0-9]{,3})/1-5.2-6.3- 7.4-8/g' This monstrosity here, I call ripe2nmap. @commandlinefu

© 2009-2017 civciv ;)