add 5 as minimum number length

This commit is contained in:
Jorge Morante 2016-04-26 22:07:50 +02:00
parent 79d1eee3b6
commit 970a7be611
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ do
lines+="$line\n"
done < /dev/stdin
matches=`echo -e $lines | (grep -oniE "((^|^\.|[[:space:]]|[[:space:]]\.|[[:space:]]\.\.|^\.\.)[[:alnum:]~_-]*/[][[:alnum:]_.#$%&+=/@-]*)|([[:digit:]]+)|([0-9a-f]{7,40})" 2> /dev/null) | sort -u`
matches=`echo -e $lines | (grep -oniE "((^|^\.|[[:space:]]|[[:space:]]\.|[[:space:]]\.\.|^\.\.)[[:alnum:]~_-]*/[][[:alnum:]_.#$%&+=/@-]*)|([[:digit:]]{5,})|([0-9a-f]{7,40})" 2> /dev/null) | sort -u`
match_count=`echo "$matches" | wc -l`
output="$lines"