1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

[fix] remove file names before sorting and removing duplicate.

This commit is contained in:
Moul 2016-03-09 15:49:37 +01:00
parent b80caa19c5
commit ed5b37d067

View file

@ -12,7 +12,7 @@ grep -E -o $pattern $* | \
# Eclude example addresses # Eclude example addresses
grep -v jon@doe.net | grep -vi domain | grep -v johndoe@example.com | \ grep -v jon@doe.net | grep -vi domain | grep -v johndoe@example.com | \
# Sort, remove duplicate, remove file name with many arguments # Remove file name when there is more than two arguments, sort, remove duplicate
sort | uniq | cut -d : -f 2 # | wc -l cut -d : -f 2 | sort | uniq # | wc -l
# Get number of packagers: uncomment upper line # Get number of packagers: uncomment upper line