Skip to content

Instantly share code, notes, and snippets.

View Akellacom's full-sized avatar

Roman Frank Akellacom

View GitHub Profile
#!/bin/bash
if [ -z $1 ]
then
echo "Usage: $0 path/2/proxy.list"
exit 1
fi
cat "$1" | while read line
do
host=`echo $line | sed 's/:[0-9]*.//'`