Last active
September 27, 2018 03:14
-
-
Save joowkim/b68fd44ab64b88ebf35e0492c7d781c9 to your computer and use it in GitHub Desktop.
bash this.sh *.gz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Line=0 | |
for var in "$@" | |
do | |
Line=`zcat $var | wc -l` | |
echo $var $((Line/4)) >> read.cnt.log | |
done | |
cat read.cnt.log | sort -k 2 -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment