mbrubeck/android-completion — pull request #3 by nowsprinting (2011-11-25 05:15:56+00:00)
Title: Change command for make device serial numbers. for MacOSX.

On the Mac OS X,
$ head -n -1
was
head: illegal line count -- -1

So the 'grep' command was changed to use.