Browse files

only show worst ten

  • Loading branch information...
1 parent eef2aa3 commit 689e009778bcc3d425c72b2c39a0f8a248660596 @jaredbeck jaredbeck committed Jul 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 script/dev/longest.sh
View
2 script/dev/longest.sh
@@ -1,4 +1,4 @@
find . -name '*.rb' | \
egrep -v '_(spec|test).rb$' | \
egrep -v 'migrate' | \
-xargs wc -l | sort
+xargs wc -l | sort | tail -n 11 | head -n 10

0 comments on commit 689e009

Please sign in to comment.