in reply to Re: Re: Removing duplicate hashes based on only one key
in thread Removing duplicate hashes based on only one key
Since grep returns a list of only those values for which its expression is true, it weeds out all of the duplicate elements.
Once you understand how some of the more arcane operations (grep, map, sort) work on lists and how to manipulate list items within their expressions, you'll grok these tricks really easily.
|
|---|