13 lines
225 B
Bash
Executable File
13 lines
225 B
Bash
Executable File
#!/bin/bash
|
|
|
|
FILTERS_FILE="$1"
|
|
|
|
while read -r filter ; do
|
|
if [ "${filter##*.}" == lua ] ; then
|
|
filterCall='-L'
|
|
else
|
|
filterCall='--filter'
|
|
fi
|
|
echo "$filterCall" "$filter"
|
|
done < "$FILTERS_FILE"
|