[TriLUG] OT - Help merging multiple files into a single file

Magnus magnus at trilug.org
Wed Nov 7 21:56:24 EST 2007


Andrew Perrin wrote:
> What about something like:
> 
> cat * | sort | uniq > /tmp/newsudoers
> 
> (UNTESTED but I would expect it to work)


That won't do deep examination of the differences.  So if there are
differences in whitespace, for example, I suspect there will be
duplicate entries.  But in the case of making a giant sudoers, I expect
it would work.



More information about the TriLUG mailing list