Revision 95c1e72d7640528ee7013d414168e98b155424bc authored by Martynas Pumputis on 21 July 2023, 12:45:19 UTC, committed by Martynas Pumputis on 21 July 2023, 12:45:19 UTC
Signed-off-by: Martynas Pumputis <m@lambda.lt>
1 parent 8053488
update-spelling_wordlist.sh
#!/usr/bin/env bash
set -e
# Ensure sort order doesn't depend on locale
export LANG=C
export LC_ALL=C
for word in "$@"
do
echo "${word}" >> Documentation/spelling_wordlist.txt
done
sort -u Documentation/spelling_wordlist.txt > Documentation/spelling_wordlist.txt.tmp
mv Documentation/spelling_wordlist.txt.tmp Documentation/spelling_wordlist.txt
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...