comparison wrapper.sh @ 122:3d64b3efd352 draft

Uploaded
author davidvanzessen
date Wed, 17 Aug 2016 08:29:07 -0400
parents 31cca6d3722a
children 0453ea4d9f14
comparison
equal deleted inserted replaced
121:31cca6d3722a 122:3d64b3efd352
208 echo "<meta name='viewport' content='width=device-width, initial-scale=1'>" >> $output 208 echo "<meta name='viewport' content='width=device-width, initial-scale=1'>" >> $output
209 echo "<script type='text/javascript' src='jquery-1.11.0.min.js'></script>" >> $output 209 echo "<script type='text/javascript' src='jquery-1.11.0.min.js'></script>" >> $output
210 echo "<script type='text/javascript' src='tabber.js'></script>" >> $output 210 echo "<script type='text/javascript' src='tabber.js'></script>" >> $output
211 echo "<script type='text/javascript' src='script.js'></script>" >> $output 211 echo "<script type='text/javascript' src='script.js'></script>" >> $output
212 echo "<link rel='stylesheet' type='text/css' href='style.css'>" >> $output 212 echo "<link rel='stylesheet' type='text/css' href='style.css'>" >> $output
213 echo "<link rel='stylesheet' href='http://yui.yahooapis.com/pure/0.6.0/pure-min.css'>" >> $output 213 echo "<link rel='stylesheet' type='text/css' href='pure-min.css'>" >> $output
214 214
215 matched_count="`cat $outdir/merged.txt | grep -v 'unmatched' | tail -n +2 | wc -l`" 215 matched_count="`cat $outdir/merged.txt | grep -v 'unmatched' | tail -n +2 | wc -l`"
216 unmatched_count="`cat $outdir/unmatched.txt | tail -n +2 | wc -l`" 216 unmatched_count="`cat $outdir/unmatched.txt | tail -n +2 | wc -l`"
217 total_count=$((matched_count + unmatched_count)) 217 total_count=$((matched_count + unmatched_count))
218 perc_count=$((unmatched_count / total_count * 100)) 218 perc_count=$((unmatched_count / total_count * 100))