summaryrefslogtreecommitdiffstats
path: root/qa/find-used-ports.sh
blob: c57525cd454619cc6016ab6357aa7c341e3d14fe (plain)
1
2
3
#!/bin/bash

git --no-pager grep -n '127.0.0.1:[0-9]\+' | sed -n 's/.*127.0.0.1:\([0-9]\+\).*/\1/p' | sort -n | uniq -u