Linux MS DOS discussions
 help / color / mirror / Atom feed
* How to remove the duplicate record in text file using DOS?
@ 2008-12-02 10:21 Vinoth Rajagopal
  2008-12-02 14:59 ` Frank Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Vinoth Rajagopal @ 2008-12-02 10:21 UTC (permalink / raw)
  To: linux-msdos


Friends,

Fine and hope the same. 
Actually I need to remove the duplicate records from my input file (text
file). Will it be possible to do in DOS. If so please help me to resolve it
off...,

[B]Input file :[/B]
vinoth
rajesh
employee
anand
rajesh
employeeGanesh

[B]Output file should be in below format:[/B]
vinoth
rajesh
employee
anand
Ganesh


Thanks In Advance.

Thanks,
Vinoth Rajagopal


-- 
View this message in context: http://www.nabble.com/How-to-remove-the-duplicate-record-in-text-file-using-DOS--tp20789431p20789431.html
Sent from the linux-msdos mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to remove the duplicate record in text file using DOS?
  2008-12-02 10:21 How to remove the duplicate record in text file using DOS? Vinoth Rajagopal
@ 2008-12-02 14:59 ` Frank Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Cox @ 2008-12-02 14:59 UTC (permalink / raw)
  To: Vinoth Rajagopal; +Cc: linux-msdos

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-02 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-02 10:21 How to remove the duplicate record in text file using DOS? Vinoth Rajagopal
2008-12-02 14:59 ` Frank Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox