Permalink
Browse files

no need for -p

  • Loading branch information...
1 parent 137d974 commit 4257bdb9b65d8dfd7fff05ac539f522dc3736971 @edsu committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 fetch.sh
View
@@ -38,7 +38,7 @@ mkdir -p $json_dir
curl --silent $url | \
gunzip -c | \
egrep '^en ' | \
- perl -npe '@cols=split/ /; print "$cols[2] $cols[1]\n";' | \
+ perl -ne '@cols=split/ /; print "$cols[2] $cols[1]\n";' | \
sort -rn | \
head -n 1000 | \
./jsonify.py > $json_file

0 comments on commit 4257bdb

Please sign in to comment.