Thanks for your soon reply!
I have two files: one is blast output file (-outfmt 6), the other is txt file containing some sequence names. I just want to filter blast output file with the needed sequences (for example: A11_610 and A11_1273).
I have run your command, however, it doesn't work for me.