swc/crates/swc_atoms/scripts/sort.sh
2021-11-10 16:39:01 +09:00

5 lines
123 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
cat words.txt | awk '{$1=$1};1' | uniq | sort > words_sorted.txt
mv words_sorted.txt words.txt