mirror of
https://github.com/balkian/bitter.git
synced 2024-12-22 00:18:12 +00:00
Add filter-edges
This commit is contained in:
parent
dd662acd22
commit
7724967285
10
bin/filter-edges.sh
Normal file
10
bin/filter-edges.sh
Normal file
@ -0,0 +1,10 @@
|
||||
|
||||
if [ "$#" -lt 2 ]
|
||||
then
|
||||
echo "Find edge lines in a file that contain one of the users in a user list."
|
||||
echo ""
|
||||
echo "Usage: $0 <file with edges> <file with the list of users>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pv -c -N 'read' "$1" | grep -F -w -f "$2" | pv -lc -N 'found'
|
Loading…
Reference in New Issue
Block a user