Hi asm-community!

I want to write a quick and dirty command-line tool that removes duplicate
Class-C IPs from a plaintext file.
I wanna create it to be used like the good old sort.exe ...

sort <infile.txt >outfile.txt

... so I have to know how to access the in- and out-stream.
A short example would be nice. Thank you!


I'm sure it's just me who doesn't know it :grin:

aweX <-
Posted on 2002-12-15 17:40:03 by aweX
Have you made any effort to look for info on stdin and stdout?
Posted on 2002-12-16 00:28:37 by eet_1024