comicfn2dict/bin/sortignore.sh
2023-12-21 13:04:52 -08:00

8 lines
168 B
Bash
Executable File

#!/bin/bash
# Sort all ignore files in place and remove duplicates
for f in .*ignore; do
if [ ! -L "$f" ]; then
sort --mmap --unique --output="$f" "$f"
fi
done