Working part 2 solution
This commit is contained in:
@ -17,10 +17,7 @@ do
|
||||
# Filter rules that only has included pages
|
||||
done <<< "$( < input-rules grep -E "($GREP_EXPR)\\|($GREP_EXPR)" | sed 's/|/,.*/')"
|
||||
# All rules have passed
|
||||
if [[ $PASS_RULES -eq 0 ]]
|
||||
then
|
||||
printf "%s\n" "$LINE"
|
||||
fi
|
||||
[[ $PASS_RULES -eq 0 ]] && printf "%s\n" "$LINE"
|
||||
done < input-updates |
|
||||
tr ',' ' ' |
|
||||
awk '
|
||||
|
Reference in New Issue
Block a user