25 Mar
2002
25 Mar
'02
16:19
On Mon, Mar 25, 2002 at 10:47:30AM -0500, Michael Garabedian wrote:
....I have two password files that I want to merge is there a command that will do it.
I have looked at diff, but I want to merge existing files to a new one.
Do you mean two /etc/passwd files? If so, you could do something like this: cat passwd1 passwd2 | sort -u > merged_passwd This merges, sorts, and removes duplicates creating merged_passwd. Best Regards, Keith -- LPIC-2, MSCE, N+ you may say I'm a dreamer, but I'm not the only one Got spam? Get SPASTIC http://spastic.sourceforge.net