10 lines
146 B
Bash
Executable File
10 lines
146 B
Bash
Executable File
#!/bin/sh
|
|
|
|
for i in $*
|
|
do
|
|
FILE=$i
|
|
cat $FILE.* > $FILE.tmp
|
|
sed -e 's/^[0-9]*: (/(/g' $FILE.tmp | sort | uniq > $FILE
|
|
rm -fr $FILE.tmp
|
|
done
|