On Fri, Oct 05, 2001 at 04:02:16PM -1000, cpaul wrote:
> 
> hi - i have two plaintext files
> 
> i want to merge them, discarding duplicate lines
> 
> is there an easy way ?

If you don't mind reordering the lines:

cat file1 file2 | sort | uniq > file3

-Andrew.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to