in reply to Extracting IDs from fasta file

Can some one make me a script which can do that.

Short answer: No

Long answers: Here, Here and Here