diff --git a/bin/list-all b/bin/list-all index eba8c97..219dc55 100755 --- a/bin/list-all +++ b/bin/list-all @@ -3,8 +3,9 @@ list_all() { local http_endpoint="https://www.python.org/ftp/python/" local extract_regexp='s|.*\?\([0-9].*\?\)/.*\?|\1|p' + local black_list='2.0' - curl -s $http_endpoint | sed -ne "$extract_regexp" | tr '\n' ' ' + curl -s $http_endpoint | sed -ne "$extract_regexp" | grep -vE "^($black_list)$" | tr '\n' ' ' } list_all