![]() |
Shell command output unique IDs... comm command
i'm using the line command comm but i'm getting zero results.
comm -23 newid.txt master.txt > new.txt I'm trying to pull all the unique id's from newid.txt is there another method I can use? both files have been sorted already. |
-23 disregards columns 2 and 3, is that what you're looking for? without seeing a sample of each file it's hard to guess.
Have you tried something like this: diff newid.txt master.txt > new.txt |
did you get this figured out?
|
If you want hit me up on icq. I can help you out.
|
If you just want unique names ...
Here is a Perlish way to do it ... Code:
#!/usr/bin/perl |
you could just sort with the -u variable for unique
|
All times are GMT -7. The time now is 12:45 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123