comicfn2dict/bin/sortignore.sh

8 lines
168 B
Bash
Raw Normal View History

2023-12-21 13:04:52 -08:00
#!/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