Permalink
Browse files

refactored display_top_ten_tags

  • Loading branch information...
1 parent e13e02e commit a5da457890f418436d6c0021ae200527ee102bf7 @tj committed Apr 25, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 bin/bm
View
@@ -168,12 +168,11 @@ tags() {
#
display_top_ten_tags() {
- local tags=`tags \
- | head -10 \
- | awk '{ printf("%20d %s\n", $1, $2) }'`
echo
printf "%20s %s\n" count tag
- echo "$tags"
+ tags \
+ | head -10 \
+ | awk '{ printf("%20d %s\n", $1, $2) }'
}

0 comments on commit a5da457

Please sign in to comment.