mk and the option -i
mk ts -i "earlier type" "later type"
As is the case for the other selections with the options -p and -g, only the spectral type is taken into account, and not the luminosity class.
mk ts -i B8 A2 lists the stars with spectral types between B8 and A2.