On Tue, 2 Dec 2008 02:21:42 -0800 (PST) Vinoth Rajagopal wrote: > Actually I need to remove the duplicate records from my input file (text > file). Will it be possible to do in DOS. Dosemu comes with bwbasic. A short bwbasic program should do exactly what you want it to do. Just set up a for-next loop until you get to the end of the file, and within that loop read each line of the file and write the lines that you want to a different text file. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com DRY CLEANER BUSINESS FOR SALE ~ http://www.canadadrycleanerforsale.com -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html