Just a couple of notes... grep "NH:i:1" will match also NH:i:10 or NH:i:11 etc.
I don't know Segemehl but NH can be greater than 1 and still you can have a "uniquely" mapped read. For example if one hit has zero mismatches and another hit has several mismatches than NH= 2 but the the second hit is so poor compared to the first one that you can say you have a unique mapping. In fact, the concept of "uniquely mapped" is a bit misleading as you can align any read anywhere you want, you just need to allow enough edits (mismatches), for this reason mapq is preferable.
Your title is wrong. Multiple hits, not
hist:)Hist looks like histogram
thanks chen i have corrected :))