HF RL Explorer

Task: Count Duplicate Lines in a Text File

Task: Count Duplicate Lines in a Text File: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Linux command or script that counts the occurrences of each unique line in a text file and outputs the count followed by the line content.

The task

You need to write a Linux command or script that counts the occurrences of each unique line in a text file and outputs the count followed by the line content.

Part of PrimeIntellect/Terminal-Lego-15k.