Skip to content
Snippets Groups Projects
Commit 8875c7f7 authored by tmp1u19's avatar tmp1u19 :octopus:
Browse files

Get the filename and the number of reviews it has and sort it in a descending order

parent 4f835446
No related branches found
No related tags found
No related merge requests found
......@@ -2,5 +2,6 @@
for file in $1/*
do
cat $file | grep -E "Author" | wc -l
done
fileName=$(basename -s .dat $file)
cat $file | grep -E "Author" | echo $fileName $(wc -l)
done | sort -rn -k2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment