summaryrefslogtreecommitdiffstats
path: root/grep-ip
blob: 97fc83fc45eae9af60a7044a564687082032d613 (plain)
1
2
3
#!/bin/bash

exec grep -Eo "([0-9]{1,3}[\.]){3}[0-9]{1,3}" "$@"