8 lines
168 B
Bash
Executable File
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
|