in reply to Re^4: Remove Duplicates from one text file and print them in another text file.
in thread Remove Duplicates from one text file and print them in another text file.
Then file size (memory constraints) is not the issue. That means you either typed it wrong, or are invoking it wrong from the command line.
The calling syntax should be something like this:
./scriptname filename1
...for a unix-like environment. Possibly something like this for Windows:
perl scriptname filename1
The first script I posted is correct. You just have to figure out how to use your shell environment.
Dave
|
|---|