Search for '{{search_term}}'

Exercise: display unique rows of a file

CMOS is the Code-Maven Open Source podcast that also includes video interviews. Subscribe to this feed RSS feed with your Podcast listener app or via iTunes iTunes.

Exercise: display unique rows of a file

Given a the following file:

A 1
B 2
A 2
C 3
B 2
D 4
C 1 

Create another file in which the first character is unique:

A 1
B 2
C 3
D 4

Tools

Solutions

Comments

In the comments, please wrap your code snippets within <pre> </pre> tags and use spaces for indentation.
comments powered by Disqus