Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th December 2008, 03:41
pkrumins pkrumins is offline
Junior Member
 
Join Date: Jan 2008
Location: Riga, Latvia
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Set Operations in Unix Shell

Hi all!

I wanted to share a nice article/tutorial that I wrote about doing various set operations in Unix shell. I used awk, comm, sort, uniq, diff, join, head, tail, and other Unix utilities to do that.

The article explains 14 various set operations:
  • Set Membership.
  • Set Equality.
  • Set Cardinality.
  • Subset Test.
  • Set Union.
  • Set Intersection.
  • Set Complement.
  • Set Symmetric Difference.
  • Power Set.
  • Set Cartesian Product.
  • Disjoint Set Test.
  • Empty Set Test.
  • Minimum.
  • Maximum.

The article can be read here: Set Operations in Unix Shell

I also created a .txt version of the article. It can be downloaded here: setops.txt


What do you think about it?
Reply With Quote
Sponsored Links
  #2  
Old 5th December 2008, 00:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Interesting. Bookmarked.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
bash, linux, sets, unix

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum issues el-sid Installation/Configuration 4 10th August 2011 11:01
Improve the Firewall rules vaio1 Installation/Configuration 0 10th May 2008 20:44
About installing ddclient satimis Server Operation 32 21st December 2006 03:51
newbie ububtu 6.0.6 error PHP binary line 816 davidsky73 Installation/Configuration 8 17th September 2006 11:51
php script injections Grizzly General 21 18th July 2006 08:55


All times are GMT +2. The time now is 14:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.