srodowisko_programisty/lab1/2.bash

4 lines
70 B
Bash
Raw Normal View History

2024-10-11 11:37:25 +02:00
#!/usr/bin/env bash
grep -Roh '\w*' "$1" | sort | uniq -c | sort -nr