On Fri, Sep 23, 2005 at 10:07:14PM -0700, Angus Lees wrote:
> Since apparently I've been getting some experience with large datasets
> lately, this version scales better:
> 
>  sort allusers.txt > sortedusers.txt
>  sort /etc/samba/smbpasswd | join -v1 -t: -o1.1 - sortedusers.txt | \
>    xargs -n 1 smbpasswd -x

Yes, similarly if both files are simple and sorted, 'comm'
is the 'standard' way to deal with this.

Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to