Вы можете объединить несколько sed
выражений, подобных этому:
sed -e 's/Sat/Saturday/g' -e 's/Sun/Sunday/g' <file>
Это заменит все вхождения Sat
на Saturday
и все вхождения Sun
на Sunday
.
Это приоритет, он используется для упорядочения правил. Из брандмауэра -справочной страницы cmd:
[--permanent] --direct --add-rule { ipv4 | ipv6 | eb } table chain priority args
Add a rule with the arguments args to chain chain in table table with priority priority.
The priority is used to order rules. Priority 0 means add rule on top of the chain, with a higher priority the rule will be added further down. Rules with the same priority are on the same level and the order of these rules is not fixed and may change. If you want to make sure that a rule will be added after another one, use a low priority for the first and a higher for the following.