swc/crates/swc_atoms/scripts/sort.sh
2022-12-12 13:50:36 +00:00

5 lines
164 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
cat words.txt | sed '/^[[:space:]]*$/d' | awk '{$1=$1};1' | uniq | ./scripts/_/sort.py > words_sorted.txt
mv words_sorted.txt words.txt