Re: [PATCH nft] tests: cover baecd1cf2685 ("segtree: Fix segfault when restoring a huge interval set")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 20 Oct 2021 15:13:54 +0200
Phil Sutter wrote:

> Thanks for the patch, just one remark:
>
> [...]
>> +cat >>"$ruleset_file" <<\EOF
>                           ~~~
> Is this backslash a typo or intentional?

It instructs the shell not to perform expansion on the heredoc lines
(which would include interpreting '$big_set' as a shell variable).

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_07_04

-- 
Štěpán





[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux