On Thu, 2007-07-12 at 13:32 -0700, Dan Nicholson wrote:
>
> $ comm 1 2 | sed 's/^\t*//'
Perfect! I didn't even need sed, when I told comm to suppress both
common lines and lines unique to file 1:
comm -1 -3 file1 file2 >> file1
listed only those lines unique to file2 and appended them to file1,
which is exactly what I needed.
In case anyone is curious, my goal here is to take the chromelist.txt
file produced by my firefox build, the one produced by my thunderbird
build, and combine them into one chromelist.txt so that both projects
can share the same folders for their data files and use the same mozilla
libraries. I hate unnecessary duplication of files and I think this can
work.
{shrug} Maybe I'm a bull in a china shop and I'll destroy it all because
I don't know what I'm doing, but that's why this is a sandbox system and
I have backups of everything in the universe... so I can experiment like
crazy and not care what happens.
--
Peter B. Steiger
Cheyenne, WY
----------------------------------------------------------------------
Get a free email account with anti spam protection.
http://www.bluebottle.com/tag/2
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page