Brian Evans - Postfix List wrote:
> On 6/8/2011 8:35 AM, Бак Микаел wrote:
>> Steve Jenkins wrote:
>>> It's http://www.hardwarefreak.com/fqrdns.pcre
>> Oh, thanks. The maintainer must have renamed it.
>>
>> I don't know if the author reads this, but I'd suggest a smallish change
>> for the next release: Put only REJECT alone on each line instead of
>> having custom text. This makes it easier for anyone to change that
>> (using sed) to a custom restriction class.
>>
> 
> You can do that yourself, example:
> 
> sed -i -e "s/REJECT.*/my_custom_reject/" fqrdns.pcre
> 

Brian,
I guess my sed-fu is very limited.

I tried awk but got confused and it blew up in my face :-)
Your sed only solution is much nicer and works.

Thank you very much!
Mikael

Reply via email to