[Dnsmasq-discuss] [PATCH] Removed empty trailing lines
Sven Geuer
sge at debian.org
Tue Nov 19 11:23:40 UTC 2024
On Sun, 2024-11-17 at 07:57 +0100, Geert Stappers wrote:
> On Sun, Nov 10, 2024 at 10:53:02AM +0100, Geert Stappers wrote:
> > [PATCH] Removed empty trailing lines
> >
In addition there are 6793 lines in 110 files with trailing spaces
including \r characters which can be identified by
GREP_COLORS='ms=41' grep -r --color=always '[[:space:][:cntrl:]]\+$' *
As a patch would be exuberant I am hesitant to provide one. Instead I
suggest to apply a suitable command line to the source tree, for
example
find -type f ! -path './.git/*' | xargs -n1 sed -i 's/[[:space:][:cntrl:]]\+$//'
Best,
Sven
--
GPG Fingerprint
3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 854 bytes
Desc: This is a digitally signed message part
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20241119/c27630ab/attachment.sig>
More information about the Dnsmasq-discuss
mailing list