Skip to content

Commit

Permalink
Merge pull request swcarpentry#633 from jensv/fix-shell-05-script-goo…
Browse files Browse the repository at this point in the history
…stats

Fix shell 05-script goostats option error
  • Loading branch information
Greg Wilson committed Jul 30, 2014
2 parents c97d257 + a9e4049 commit b11e23f
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
while getopts J:r: option
do
case "$option" in
J) Jarg="$OPTARG"
shift $((OPTIND));;
r) shift $((OPTIND-1));;
esac
done

sleep 2
head -3 $1 | cut -d , -f 1 | sort | uniq > $2

0 comments on commit b11e23f

Please sign in to comment.