[Dnsmasq-discuss] space two point eighty one
Geert Stappers
stappers at stappers.nl
Thu Mar 5 20:46:21 GMT 2020
Previous-Subject: Re: [Dnsmasq-discuss] Announce: dnsmasq-2.81rc1
In-Reply-To: <46B01EF6-DF07-44ED-86BA-CCBD2EFDB368 at darbyshire-bryant.me.uk>
On Tue, Mar 03, 2020 at 09:07:15AM +0000, Kevin 'ldir' Darbyshire-Bryant wrote:
> On 3 Mar 2020, at 06:31, Geert Stappers <stappers at stappers.nl> wrote:
> > On Mon, Mar 02, 2020 at 10:39:26PM +0000, Simon Kelley wrote:
> >>
> >> ... and let me know ... if there are any loose ends I missed.
> >>
> >
> > In http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2020q1/013757.html
> > is
> > int count, new;
> > - struct dhcp_config *config, *candidate;
> > + struct dhcp_config *config, *candidate;
> > struct hwaddr_config *conf_addr;
>
> Not sure I understand the relevance Geert but as is common with these
> sort of non obvious replacements, there’s a ‘rogue’ white space
> at the end of the replaced line which is removed by its replacement.
Yes, that is the problem: rogue white space is considered irrelevant
I plea for removal of unneeded ' ' and ' '.
That removal can be done with:
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e '${/^ *$/d;}' src/*.c ; git diff | wc
sed --in-place -e 's/^[ \t]*$//' src/*.c ; git diff | wc
sed --in-place -e 's/^[ \t]*$//' src/*.c ; git diff | wc
sed --in-place -e 's/^[ \t]*$//' src/*.c ; git diff | wc
Regards
Geert Stappers
--
Silence is hard to parse
More information about the Dnsmasq-discuss
mailing list